lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlo walentiny <carlo.walent...@gmail.com>
Subject Re: Bug or Stupid: deleting (some) query results while iterating over query results
Date Fri, 25 Nov 2005 16:41:17 GMT
Just to confirm: Luc's suggestion to use two readers (one for the query,
one for the deletes), works:

      IndexReader r = IndexReader.open(iD);
      IndexSearcher s = new IndexSearcher(iD); --> instead of new
IndexSearcher(r)

-carlo

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message