RE: Help with Search Java Code set up

2005-10-26 Thread Kevin L. Cobb
; something less that the previous one. Hope this makes since. -Thanks, Kevin -Original Message- From: Otis Gospodnetic [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 2:38 PM To: java-user@lucene.apache.org Subject: Re: Help with Search Java Code set up Are you si

RE: Help with Search Java Code set up

2005-10-26 Thread Otis Gospodnetic
to search) > 4. Can I combine these separate queries together into one? > > -Kevin > > > > > > -Original Message- > From: Jeff Rodenburg [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 26, 2005 1:04 PM > To: java-user@lucene.apache.org >

Re: Help with Search Java Code set up

2005-10-26 Thread Otis Gospodnetic
Are you simply looking to use multiple terms in your search? In that case, simply use BooleanQuery instead of TermQuery. QueryParser will recognize strings likefoo AND baror+foo +barand turn that into a BooleanQuery for you. Otis --- "Kevin L. Cobb" <[EMAIL PROTECTED]> wrote: >

RE: Help with Search Java Code set up

2005-10-26 Thread Kevin L. Cobb
: Re: Help with Search Java Code set up Kevin - Maybe I'm misunderstanding, but how is this not a BooleanQuery with two clauses? - j On 10/26/05, Kevin L. Cobb <[EMAIL PROTECTED]> wrote: > > I've been using Lucene happily for a couple of years now. But, this > new s

Re: Help with Search Java Code set up

2005-10-26 Thread Jeff Rodenburg
Kevin - Maybe I'm misunderstanding, but how is this not a BooleanQuery with two clauses? - j On 10/26/05, Kevin L. Cobb <[EMAIL PROTECTED]> wrote: > > I've been using Lucene happily for a couple of years now. But, this new > search functionality I'm trying to add is somewhat different that what

Re: Help with Search Java Code set up

2005-10-26 Thread Yonik Seeley
Hi Kevin, Your description is rather generic... could you be more specific why you couldn't just create a BooleanQuery that searches across the searchable and keyword fields at the same time? -Yonik Now hiring -- http://forms.cnet.com/slink?231706 On 10/26/05, Kevin L. Cobb <[EMAIL PROTECTED]> w