Folks,
What to do you think about including this class in
org.apache.lucene.queryParser?
Let me know, and if you approve I can commit it.
Thanks,
Otis
--- Kelvin Tan <kelvin@relevanz.com> wrote:
> Peter,
>
> As advised, re-released under APL. :) There were some changes to
> QueryParser
> constructors in rc3, and these are reflected here as well.
>
> FWIW, I've also attached a javascript lib and accompanying HTML which
> constructs a Lucene multi-field query using a HTML form.
>
> Regards,
> Kelvin
>
> ----- Original Message -----
> From: "Peter Carlson" <carlson@bookandhammer.com>
> To: "Lucene Users List" <lucene-user@jakarta.apache.org>
> Sent: Wednesday, February 13, 2002 10:56 PM
> Subject: Re: Searching multiple fields in one Index of Documents
>
>
> > This is great Kelvin,
> > Sorry I didn't see it before.
> > I'll add it to the list of contributions.
> >
> > --Peter
> >
> > On 2/13/02 12:43 AM, "Kelvin Tan" <kelvin@relevanz.com> wrote:
> >
> > > Charles,
> > >
> > > See
>
http://www.mail-archive.com/lucene-user@jakarta.apache.org/msg00176.html
> > >
> > > Regards,
> > > K
> > >
> > > ----- Original Message -----
> > > From: "Charles Harvey" <charvey@knightridder.com>
> > > To: <lucene-user@jakarta.apache.org>
> > > Sent: Tuesday, February 12, 2002 8:39 AM
> > > Subject: Searching multiple fields in one Index of Documents
> > >
> > >
> > >> I have a working installation of Lucene running against indexes
> created
> by
> > >> a database query.
> > >> Each Document in the Index contains fifteen or twenty fields. I
> am
> > >> currently searching only one field (that contains concatenated
> database
> > >> columns) because I cannot figure out how to search multiple
> fields. So:
> > >>
> > >> How can I use Lucene to search more than one field in an Index
> of
> > > Documents?
> > >>
> > >> eg:
> > >> field CATEGORY is(or contains) 'bar'
> > >> AND
> > >> field BODY contains 'foo'
> > >>
> > >>
> > >>
> > >>
> > >> _________________
> > >>
> > >> "The trouble with the rat-race is that even if you win you're
> still a
> > > rat."
> > >> --Lily Tomlin
> > >> _________________
> > >> Charles Harvey
> > >> Developer
> > >> http://www.philly.com
> > >> Wk: 215 789 6057
> > >> Cell: 215 588 0851
> > >>
> > >>
> > >> --
> > >> To unsubscribe, e-mail:
> > > <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > >> For additional commands, e-mail:
> > > <mailto:lucene-user-help@jakarta.apache.org>
> > >>
> > >>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
> >
> >
>
> ATTACHMENT part 2 application/octet-stream
name=MultiFieldQueryParser.java
> ATTACHMENT part 3 application/octet-stream
name=luceneQueryConstructor.js
> --
> To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:lucene-user-help@jakarta.apache.org>
__________________________________________________
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail
http://mail.yahoo.com
--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>
What to do you think about including this class in
org.apache.lucene.queryParser?
Let me know, and if you approve I can commit it.
Thanks,
Otis
--- Kelvin Tan <kelvin@relevanz.com> wrote:
> Peter,
>
> As advised, re-released under APL. :) There were some changes to
> QueryParser
> constructors in rc3, and these are reflected here as well.
>
> FWIW, I've also attached a javascript lib and accompanying HTML which
> constructs a Lucene multi-field query using a HTML form.
>
> Regards,
> Kelvin
>
> ----- Original Message -----
> From: "Peter Carlson" <carlson@bookandhammer.com>
> To: "Lucene Users List" <lucene-user@jakarta.apache.org>
> Sent: Wednesday, February 13, 2002 10:56 PM
> Subject: Re: Searching multiple fields in one Index of Documents
>
>
> > This is great Kelvin,
> > Sorry I didn't see it before.
> > I'll add it to the list of contributions.
> >
> > --Peter
> >
> > On 2/13/02 12:43 AM, "Kelvin Tan" <kelvin@relevanz.com> wrote:
> >
> > > Charles,
> > >
> > > See
>
http://www.mail-archive.com/lucene-user@jakarta.apache.org/msg00176.html
> > >
> > > Regards,
> > > K
> > >
> > > ----- Original Message -----
> > > From: "Charles Harvey" <charvey@knightridder.com>
> > > To: <lucene-user@jakarta.apache.org>
> > > Sent: Tuesday, February 12, 2002 8:39 AM
> > > Subject: Searching multiple fields in one Index of Documents
> > >
> > >
> > >> I have a working installation of Lucene running against indexes
> created
> by
> > >> a database query.
> > >> Each Document in the Index contains fifteen or twenty fields. I
> am
> > >> currently searching only one field (that contains concatenated
> database
> > >> columns) because I cannot figure out how to search multiple
> fields. So:
> > >>
> > >> How can I use Lucene to search more than one field in an Index
> of
> > > Documents?
> > >>
> > >> eg:
> > >> field CATEGORY is(or contains) 'bar'
> > >> AND
> > >> field BODY contains 'foo'
> > >>
> > >>
> > >>
> > >>
> > >> _________________
> > >>
> > >> "The trouble with the rat-race is that even if you win you're
> still a
> > > rat."
> > >> --Lily Tomlin
> > >> _________________
> > >> Charles Harvey
> > >> Developer
> > >> http://www.philly.com
> > >> Wk: 215 789 6057
> > >> Cell: 215 588 0851
> > >>
> > >>
> > >> --
> > >> To unsubscribe, e-mail:
> > > <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > >> For additional commands, e-mail:
> > > <mailto:lucene-user-help@jakarta.apache.org>
> > >>
> > >>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
> >
> >
>
> ATTACHMENT part 2 application/octet-stream
name=MultiFieldQueryParser.java
> ATTACHMENT part 3 application/octet-stream
name=luceneQueryConstructor.js
> --
> To unsubscribe, e-mail:
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:lucene-user-help@jakarta.apache.org>
__________________________________________________
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail
http://mail.yahoo.com
--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>