BaseSearchIndex<R,V> idx = getSearchIndex();
Long2ObjectMap<List<IndexingReq>> addList = new Long2ObjectOpenHashMap<List<IndexingReq>>();
V version = idx.getVersion(); // current version
LongSet delSet =new LongOpenHashSet();
try {
for(DataEvent<ZoieIndexable,V> evt : events)
{
if (evt == null) continue;
//version = Math.max(version, evt.getVersion());
version = version == null ? evt.getVersion() : (version.compareTo(evt.getVersion()) < 0 ? evt.getVersion() : version);
// interpret and get get the indexable instance
ZoieIndexable indexable = evt.getData();
if (indexable == null || indexable.isSkip())
continue;
long uid = indexable.getUID();
delSet.add(uid);
addList.remove(uid);
if (!indexable.isDeleted()) // update event
{
IndexingReq[] reqs = indexable.buildIndexingReqs();
for (IndexingReq req : reqs) {