can you provide some sample code that demonstrates this problem? ...
preferably something that uses hardcoded data to built up an index in a
RAMDirectory so ayone can run the test without needing any external data?
it would make it a lot easier for other people to help you diagnose what's
going o
Are you using a hit collector? I think if you use a hit collector rather
than the Hits object for getting query results, deleted items will still
be returned as results. My workaround for this was to run optimize after
I finish a batch of deletes, which works fine for my system because I
only run a