lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Maisonneuve" <nico.maisonne...@free.fr>
Subject Re: the future of MultiFieldQueryParser
Date Mon, 15 Nov 2004 21:56:50 GMT
Can we add a boost array parameter  in the parse method

Example: query: "X AND Y"  with
fieldn with boost value bfn

Ex (field1:X^bf1 AND field1:Y^bf1) OR (field2:X^bf2 AND field2:Y^bf2) OR ...
(fieldn:X^bfn AND
fieldn:Y^bfn)
or :
(field1:X^bf1 OR field1:Y^bf1) AND (field2:X^bf2 OR field2:Y^bf2) AND ...
(fieldn:X^bfn AND
fieldn:Y^bfn)

or what you want , but add the opportunity to parameter a boost value for a
specific field,

nicolas maisonneuve

----- Original Message ----- 
From: "Bill Janssen" <janssen@parc.com>
To: "Lucene Developers List" <lucene-dev@jakarta.apache.org>
Sent: Monday, November 15, 2004 22:04
Subject: Re: the future of MultiFieldQueryParser


> Daniel,
>
> I've already addressed this issue a few months ago on the lucene-users
> list.  My improved version of MultiFieldQueryParser is at
> ftp://ftp.parc.xerox.com/transient/janssen/SearchTest.java.  It works
> with either OR or AND.  I'll file a bug report with this patch.  In
> the meantime, the class NewMultiFieldQueryParser in SearchTest.java
> will do what you need.  Unfortunately, the change from Lucene 1.4.1 to
> 1.4.2 inexplicably broke the Lucene API.  I've been told it will be
> fixed for 1.4.3, but for now either use 1.4.1, or patch the class for
> 1.4.2.
>
> Bill
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message