lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cescky" <290131...@qq.com>
Subject About the lucene score
Date Sat, 02 Apr 2011 20:09:43 GMT
Hi,


I search using the ComplexPhraseQueryParser (e.g. "great* sum*"), it becomes SpanNearQuery
so i cannot use multiTermQuery.setRewriteMethod(). Because prefix query is constant query,
it can only sort the document by the order of reading files.



Which method should I use to change it? And How to modify it to make it sort by relevance
not the constant score(reading file order)?


Thanks
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message