Re: Unable to sort when searching with a MultiCollector

2013-06-03 Thread Arjun Dhar
ok managed to FIX it! :) Too a Q from http://lucene.472066.n3.nabble.com/sort-by-field-and-score-td4022541.html So without sort the code that always worked was: Assume : facetsCollector - Defined With Sort: (Use *TopFieldCollector*) -- View this message in context: http://lucene.472066.n3

Re: Unable to sort when searching with a MultiCollector

2013-06-03 Thread Arjun Dhar
I have also observed, that when using the TopDocsCollector version of the Query, if the hits exceed the the number of actual results, it returns nothing. In the case of of plain .search(query, hits, sort); the damn thing keeps going on n on. If i give an absurd number of hits, it wont stop. --