Can't you simply sort by descending score (your score, not lucene's)?
Seems to me that would give you what you are asking for.
The setBoost() method is unlikely to work consistently because it only
infuences the score rather than setting it. If your John Mickeal doc
happens to have a higher
-
From: Ian Lea [mailto:ian@gmail.com]
Sent: Monday, February 22, 2010 10:33 AM
To: java-user@lucene.apache.org
Subject: Re: Boost Problem (again), need example !
Can't you simply sort by descending score (your score, not lucene's)?
Seems to me that would give you what you are asking
-Original Message-
From: Ian Lea [mailto:ian@gmail.com]
Sent: Monday, February 22, 2010 10:33 AM
To: java-user@lucene.apache.org
Subject: Re: Boost Problem (again), need example !
Can't you simply sort by descending score (your score, not lucene's)?
Seems to me that would give you what
AM
To: java-user@lucene.apache.org
Subject: Re: Boost Problem (again), need example !
Can't you simply sort by descending score (your score, not lucene's)?
Seems to me that would give you what you are asking for.
The setBoost() method is unlikely to work consistently because it only
]
Sent: Monday, February 22, 2010 12:26 PM
To: java-user@lucene.apache.org
Subject: Re: Boost Problem (again), need example !
boostField needs to be indexed to be used in the FieldScoreQuery.
Are you now using one of the the latest releases that Uwe mentioned,
with fixes for CustomScoreQuery
Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
-Original Message-
From: Ian Lea [mailto:ian@gmail.com]
Sent: Monday, February 22, 2010 12:26 PM
To: java-user@lucene.apache.org
Subject: Re: Boost Problem (again), need example !
boostField needs to be indexed to be used
-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
-Original Message-
From: Ian Lea [mailto:ian@gmail.com]
Sent: Monday, February 22, 2010 12:26 PM
To: java-user@lucene.apache.org
Subject: Re: Boost Problem (again), need example !
boostField needs