Boost Problem (again), need example !

2010-02-22 Thread pdaures
Hi, I know that there are many topics about scoring issues, but I didn't find an answer in the topics. This is the problem : Imagine I'm a teacher, and I have to index all the results, comments and score about students. Student : String name (eg : John Smith) String comments : (eg: John is a good

Re: Boost Problem (again), need example !

2010-02-22 Thread Ian Lea
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 lucen

RE: Boost Problem (again), need example !

2010-02-22 Thread Uwe Schindler
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

RE: Boost Problem (again), need example !

2010-02-22 Thread pdaures
.-Meier-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 10:33 AM >> To: java-user@lucene.apache.org >> Subject: Re: Boost

Re: Boost Problem (again), need example !

2010-02-22 Thread Ian Lea
t; - >> Uwe Schindler >> H.-H.-Meier-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 10:33 AM &g

RE: Boost Problem (again), need example !

2010-02-22 Thread Uwe Schindler
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 in the FieldScoreQuery. > > Are you now using one of the the latest releases

RE: Boost Problem (again), need example !

2010-02-22 Thread pdaures
; - > Uwe Schindler > H.-H.-Meier-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@luce

Re: Boost Problem (again), need example !

2010-02-22 Thread Erick Erickson
mScoreQuery in 2.9 and 3.0. > >> >> > >> >> Please wait for 2.9.2 and 3.0.1 for an important API change in this > >> >> experimental query type to work correct with the new per-segment- > >> search! > >> >> You can test the release arti