Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 40738 invoked from network); 7 Jul 2004 15:18:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Jul 2004 15:18:08 -0000 Received: (qmail 95485 invoked by uid 500); 7 Jul 2004 15:10:36 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 95378 invoked by uid 500); 7 Jul 2004 15:10:35 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 95232 invoked by uid 99); 7 Jul 2004 15:10:33 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=FORGED_RCVD_HELO,HTML_30_40,HTML_FONT_BIG,HTML_MESSAGE X-Spam-Check-By: apache.org Received: from [66.207.192.3] (HELO mta1.beanfield.net) (66.207.192.3) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 07 Jul 2004 08:10:30 -0700 Received: from don.webimpact.com (66-207-218-34.beanfield.net [66.207.218.34] (may be forged)) by mta1.beanfield.net (8.12.11/8.12.6) with ESMTP id i67FALnV090193 for ; Wed, 7 Jul 2004 11:10:22 -0400 (EDT) (envelope-from donv@webimpact.com) Message-Id: <6.1.1.1.0.20040707110744.01aca360@localhost> X-Sender: donv@web-impact.com@localhost X-Mailer: QUALCOMM Windows Eudora Version 6.1.1.1 Date: Wed, 07 Jul 2004 11:11:42 -0400 To: "Lucene Users List" From: Don Vaillancourt Subject: Re: boolean operators and score In-Reply-To: <020401c46423$107e4480$b101a8c0@emacmillan.edu> References: <020401c46423$107e4480$b101a8c0@emacmillan.edu> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_7530171==.ALT" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=====================_7530171==.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed 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 >Franck. > >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? > > >Regards, >Niraj Don Vaillancourt Director of Software Development WEB IMPACT INC. 416-815-2000 ext. 245 email: donv@web-impact.com web: http://www.web-impact.com 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. --=====================_7530171==.ALT--