Hi,

I'm using following code to get execute search query in Lucene.Net

var collector = new
GroupingHitCollector(searcher.GetIndexReader());searcher.Search(myQuery,
collector);resultsCount = collector.Hits.Count;How do i sort these search
results based on a field?

I need to use collector object(instead of using hits) and I dont see any
overloaded Searcher.search method which returns a collector object as well
as sort it on a field.


Thanks.


-- 
View this message in context: 
http://www.nabble.com/Sorting-lucene-search-results-tp21759077p21759077.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.


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

Reply via email to