Take a look at org.apache.lucene.search.TopFieldDocCollector :
http://lucene.apache.org/java/2_3_0/api/org/apache/lucene/search/TopFieldDocCollector.html
Cam Bazz wrote:
Hello,
How can I use a hit collector and sort object in query? I looked at the API
and sort is only usable with hits. Is it even possible? since hitcollector
returns a bitset - how do we do the ordering?
Best,
-C.B.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]