lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Don Vaillancourt <>
Subject Re: boolean operators and score
Date Wed, 07 Jul 2004 15:11:42 GMT
I think that the only way to resolve this would be to order your keywords 
alphabetically to control the result every single time prior to submitting 
your search to Lucene.  I don't know if Lucene does this, but I'm fairly 
sure that sorting the criteria would be a complex matter.

At 09:05 AM 07/07/2004, you wrote:
>Hi Guys,
>Finally I have sorted the problem of hits score thanks to the great help of
>I have hit another problem with the boolean operators now.
>When I search for "Winston and churchill" i get a set of perfectly
>acceptable results.
>But when I change the order, "churchill and winston" the results are the
>same but the order of the results changes.
>Is it possible to have the same order (hits.score) irrespective of which
>term is given before or after?

Don Vaillancourt
Director of Software Development

416-815-2000 ext. 245

This email message is intended only for the addressee(s)
and contains information that may be confidential and/or
copyright.  If you are not the intended recipient please
notify the sender by reply email and immediately delete
this email. Use, disclosure or reproduction of this email
by anyone other than the intended recipient(s) is strictly
prohibited. No representation is made that this email or
any attachments are free of viruses. Virus scanning is
recommended and is the responsibility of the recipient.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message