-
Bug
-
Resolution: Done
-
Major
-
5.2.0.Final
-
None
When using indexLocalOnly=true, the Lucene index is updated when the transaction is commited.
After removing an entry from the cache (and before commiting the transaction), queries will still match the entry, but since the entry is no longer in the cache, the list returned by the query will contain a null value.
This forces clients to always check whether elements of the collection returned by queries are null.
IMO, Ispan-query should handle this and simply skip the entries that were matched in the index, but are no longer in the cache.