Hi

I want to use the searchAfter API in IndexSearcher. This API takes ScoreDoc as argument. Do we need to store the last ScoreDoc value (ScoreDoc value from previous search)? I guess, docid value is not valid when the IndexReader is reopened. We have multiple users simultaneously querying the index. Every minute the IndexReader will be reopened.

public TopDocs searchAfter(ScoreDoc after, Query query, int numHits) throws IOException

Please let me know how to handle this.

Regards
Ganesh

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to