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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -