java - Sort a Lucene Faceted Search -
i using pure lucene 4.2.0 faceted search using lucene-facet module.
i got work, how can change sort behavior searcher? use following seacrh method of searcher, doesn't take sort parameter.
facetscollector facetscollector = facetscollector.create(facetsearchparams, indexreader, taxoindexreader); searcher.search(query, multicollector.wrap(facetscollector)); list<facetresult> res = facetscollector.getfacetresults();
i results matches on top. possible sort alphabetically instead without sorting in pre java?
thanks lot! -danny
Comments
Post a Comment