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" <[EMAIL PROTECTED]> To: "Lucene Developers List" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]