earcher.search(new MatchAllDocsQuery(),
>>> MultiCollector.wrap(**topScoreDocCollector, facetsCollector));
>>>
>>> Above code gives me results along with facets.
>>>
>>> Now I want to add a Sort field on document, say I want to sort by name
no
method in IndexSearcher which has Collector and Sort.
I have asked this question on stackoverflow as well. (
http://stackoverflow.com/questions/17992183/lucene-4-faceted-search-with-sorting
)
Please Help !!
ry(), 100,
> sort);
>
> Now, how do I achieve sorting along with faceting, because there is no
> method in IndexSearcher which has Collector and Sort.
>
>
> I have asked this question on stackoverflow as well. (
>
> http://stackoverflow.com/questions/17992183/lucene-4-faceted-search-with-sorting
> )
>
>
> Please Help !!
>
verflow.com/questions/17992183/lucene-4-faceted-search-with-sorting
)
Please Help !!