Hi,
I can't figure out why a ZoieIndexable can respond to messages:
getUID
getIndexingReq[]
To me, that means that many documents can (and will, based on all DataConsumer implementation I've seen so far) map to a single UID.
Which means, following events with same UID will delete all of these documents from the index.
The reason I'm asking this is because I would like to have each DataEvent to be able to generate multiple Documents, and to each Document to be able to indicate it's own UID (I guess also isDeleted() and isSkip() would make sense)
I guess what I want is just, at indexing time, to be able to explode 1 single event (a Kafka message in my case) into several Lucene documents, each with its own unique ID, that way optimizing my DataProvider load whenever I can.
I understand this is a whole new API, really different to the current ZoieIndexable
In fact, it would probably mean moving the whole ZoieIndexable interface to the IndexingReq at some point.
Is there a reason why this wouldn't make any sense at all? Does anyone foresee a future issue with this?
Could there be any interest for such a "feature"?
Regards,
Roman