Re: Negative Boost

2004-08-04 Thread Morus Walter
Daniel Naber writes: > On Wednesday 04 August 2004 13:19, Terry Steichen wrote: > > > I can't get negative boosts to work with QueryParser. Is it possible to do > > so? > > Isn't that the same as using a boost < 1, e.g. 0.1? That should be possible. > no. a^-1 OR b A boost of -1 means that the

Re: Negative Boost

2004-08-04 Thread markharw00d
A solution to this has been proposed before - see http://wiki.apache.org/jakarta-lucene/CommunityContributions Cheers Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Negative Boost

2004-08-04 Thread Doug Cutting
Terry Steichen wrote: But if, in the future, I or someone else took on this task of enhancing QueryParser, I'd like to be assured that the underlying Lucene engine will accept and support negative boosting. Is that the case? Lucene will multiply negative boosts into scores just like positive ones

Re: Negative Boost

2004-08-04 Thread Terry Steichen
'd like to be assured that the underlying Lucene engine will accept and support negative boosting. Is that the case? Regards, Terry - Original Message - From: Erik Hatcher To: Lucene Users List Sent: Wednesday, August 04, 2004 9:12 AM Subject: Re: Negative Boost On

Re: Negative Boost

2004-08-04 Thread Terry Steichen
Near as I can tell, setting the boost to, say, 0.10, doesn't seem to do anything. Regards, Terry - Original Message - From: Otis Gospodnetic To: Lucene Users List Sent: Wednesday, August 04, 2004 9:38 AM Subject: Re: Negative Boost You can just use boost that is

Re: Negative Boost

2004-08-04 Thread Daniel Naber
On Wednesday 04 August 2004 13:19, Terry Steichen wrote: > I can't get negative boosts to work with QueryParser. Is it possible to do > so? Isn't that the same as using a boost < 1, e.g. 0.1? That should be possible. Regards Daniel

Re: Negative Boost

2004-08-04 Thread Otis Gospodnetic
You can just use boost that is < 1.0, no? Otis --- Terry Steichen <[EMAIL PROTECTED]> wrote: > I can't get negative boosts to work with QueryParser. Is it possible > to do so? > > TIA, > > Terry > > > - To unsubscribe, e

Re: Negative Boost

2004-08-04 Thread Erik Hatcher
On Aug 4, 2004, at 7:19 AM, Terry Steichen wrote: I can't get negative boosts to work with QueryParser. Is it possible to do so? Closer inspection on the parsing: TOKEN : { )+ ( "." (<_NUM_CHAR>)+ )? > : DEFAULT } where <#_NUM_CHAR: ["0"-"9"] > So, no, negative boosts don't appear possible w

Re: Negative Boost

2004-08-04 Thread Erik Hatcher
On Aug 4, 2004, at 7:19 AM, Terry Steichen wrote: I can't get negative boosts to work with QueryParser. Is it possible to do so? More details please. - What exact query expression did you use? - Did you get an error? If so, what was it? - What does Query.toString() output? Erik ---

Re: Negative Boost

2004-08-04 Thread Morus Walter
Terry Steichen writes: > I can't get negative boosts to work with QueryParser. Is it possible to do so? > If you change QueryParser ;-) Morus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Negative Boost

2004-08-04 Thread Terry Steichen
I can't get negative boosts to work with QueryParser. Is it possible to do so? TIA, Terry