lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gabriele renzi <>
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 <> 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:
For additional commands, e-mail:

View raw message