>>Have you looked at the constructor for BooleanQuery and 
>>tried passing "true" to disable the Coord factor?

Thanks Chris, this is exactly what I want,
but I am working with lucene 1.4.3 because I have to for some reasons,

Is there any equivalent ?!

Thank u. 


__________________________________

   Mathieu Decaffmeyer
   Web Developer
   Fortis Banque Luxembourg
   IS Retail Banking - Web Content Management
   Mobile : 0032  479 / 69 . 42 . 96

    

-----Original Message-----
From: Chris Hostetter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 30, 2007 8:49 PM
To: java-user@lucene.apache.org
Subject: RE: Score

*****  This message comes from the Internet Network *****


: I make a BooleanQuery with the input of the user and include in the
query
: title:keywordofuser headlines:keywordofuser content:keywordofuser
: I tried to Boost field title, then if keyword appear in the title,
score grows like I want to, but if keyword occurs in content or
headlines score decrease more than before ...
: I would like to have a score independent for each query in the
BooleanQuery, sounds basic but I just can't achieve this.
: Is this also possible to change ?

it's really not clear to me what you are asking ... what do you mean
the score is decreased if the keyword appears in the content? ... how
can
the score be independent of the sub queries? -- the subqueries are what
determine the score, there is nothing else.

Have you looked at the constructor for BooleanQuery and tried passing
"true" to disable the Coord factor? ... that eliminates the pnalty
documents get for only matching some of the clauses of a BooleanQuery --
which may be what you are describing (i'm really not sure)



-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



============================================
Internet communications are not secure and therefore Fortis Banque Luxembourg 
S.A. does not accept legal responsibility for the contents of this message. The 
information contained in this e-mail is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the 
intended recipient, any disclosure, copying, distribution or any action taken 
or omitted to be taken in reliance on it, is prohibited and may be unlawful. 
Nothing in the message is capable or intended to create any legally binding 
obligations on either party and it is not intended to provide legal advice.
============================================


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to