Thank you Hoss. I was exactly looking for sth like
TopFieldCollector.create(...). Basically my objective is to sort the
document by the document number(I have read only index with only one
segment & also because of some other requirements). Here's what I did,
// create a sort field based on docum
: I was wondering why there is no search method in lucene Indexsearcher to
: search after last reference by passing collector. Say a method with
: signature like searchAfter(Query query, ScoreDoc after, Collector results).
searchAfter only makes sense if there is a Sort involved -- either
explic
Hi,
I was wondering why there is no search method in lucene Indexsearcher to
search after last reference by passing collector. Say a method with
signature like searchAfter(Query query, ScoreDoc after, Collector results).
For normal search there are two ways to search; one by passing the
collector