Hi folks,

i've just - after a lot of searching - recognized, that the 
LuceneBatchInserterIndex handles ValueContext[] a little bit different 
than the normal one:

When calling add(),  the LuceneIndex converts its Parameter to an 
Object[], and checks for each element if it is an ValueContext.

The BatchInserterIndex checks the input parameter for beeing a 
ValueContext first, than converts it to an Object[] and indexing it 
Element by element.

This results in a ValueContext[]{numeric(123L), numeric(456L)} being 
indexed as (123L,456L) when using the normal LuceneIndex, but 
("123","456") when using the BatchInserterIndex.

Is this intended behaviour?

Best regards,
Benjamin
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to