Another Update:
I am also observing that in BlockGroupongCollector if i sort by INDEX_ORDER and
make needs score true then my scorer is called once and i am still getting each
doc score. But when i change the Sort to RELEVANCE the scorer is called twice.
On Jan 16, 2017, at 12:18 PM, Sidhant A
Im trying to use the BlockGroupingCollector to get grouped results when
searching in Lucene. I had indexed my doucments using the addDocuments function
in IndexWriter and also added a group separator at the end of each group.
Using this code:
val groupEndDocs = new TermQuery(new Term("groupEnd