Hi,
I know the default is sort by relevance. While, when i search the prefix
(interface*), it does not work. It can only sort the document by the order of
reading files.
What is the problem???
Thx.
um, the version of lucene that you are
using and your search/sort code, you might get a better answer.
Best of all would be a complete self-contained standalone program or
test case that demonstrates the problem.
--
Ian.
On Fri, Apr 1, 2011 at 3:15 PM, Cescky wrote:
> Hi,
>
>
> I
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
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