lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gabriele renzi <rff....@gmail.com>
Subject Re: DisjunctionMaxQuery and custom Sort
Date Fri, 05 Mar 2010 09:56:19 GMT
On Fri, Mar 5, 2010 at 10:42 AM, Ian Lea <ian.lea@gmail.com> wrote:
> From the javadocs for the search with sort method it appears you are calling:
>
> NOTE: this does not compute scores by default; use
> IndexSearcher.setDefaultFieldSortScoring(boolean, boolean) to enable
> scoring.
>
>
> Sounds like you need to call that with at least the first arg set to true.

doh, yet another case of "even someone passing by will see the obvious
problem that you have been banging your head on for one hour".

Thank you for easily overcoming my stupidity :)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message