Re: Scoring a query with OR's

2008-03-19 Thread Chris Hostetter
: I emailed a question earlier about the difference between OR and AND in a : Boolean query. So in what I am trying to do, I need AND to behave like an OR ( : or what I like to call "soft AND"), and I need OR to behave like a logic OR, : meaning that I don't want to reward documents that have more

Re: Scoring a query with OR's

2008-03-19 Thread Ghinwa Choueiter
sage - From: "Erik Hatcher" <[EMAIL PROTECTED]> To: Sent: Sunday, March 09, 2008 1:22 PM Subject: Re: Scoring a query with OR's On Mar 9, 2008, at 12:39 PM, Ghinwa Choueiter wrote: but what exactly happens when there are OR's, for eg. (life OR place OR time)

Re: Scoring a query with OR's

2008-03-09 Thread Erik Hatcher
ECTED]> To: Sent: Sunday, March 09, 2008 1:22 PM Subject: Re: Scoring a query with OR's On Mar 9, 2008, at 12:39 PM, Ghinwa Choueiter wrote: but what exactly happens when there are OR's, for eg. (life OR place OR time) The scoring equation can get a score for life, place, time

Re: Scoring a query with OR's

2008-03-09 Thread Mark Miller
he case of OR, it should not matter if all the OR operands are in the document? -Ghinwa - Original Message - From: "Erik Hatcher" <[EMAIL PROTECTED]> To: Sent: Sunday, March 09, 2008 1:22 PM Subject: Re: Scoring a query with OR's On Mar 9, 2008, at 12:39 P

Re: Scoring a query with OR's

2008-03-09 Thread Ghinwa Choueiter
n the document? -Ghinwa - Original Message - From: "Erik Hatcher" <[EMAIL PROTECTED]> To: Sent: Sunday, March 09, 2008 1:22 PM Subject: Re: Scoring a query with OR's On Mar 9, 2008, at 12:39 PM, Ghinwa Choueiter wrote: but what exactly happens when there are OR&#

Re: Scoring a query with OR's

2008-03-09 Thread Erik Hatcher
On Mar 9, 2008, at 12:39 PM, Ghinwa Choueiter wrote: but what exactly happens when there are OR's, for eg. (life OR place OR time) The scoring equation can get a score for life, place, time separately, but what does it do with them then? Does it also add them. The coord factor kicks in t

Scoring a query with OR's

2008-03-09 Thread Ghinwa Choueiter
Hi, I had a look at the scoring equation and read the scoring online document: http://lucene.apache.org/java/docs/scoring.html#Scoring It is clear to me how the scoring equation would work for a query that contains AND: http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc//org/apache