Ok I will let you know the result....

thanks
Aaron
----- Original Message -----
From: "Otis Gospodnetic" <[EMAIL PROTECTED]>
To: "Lucene Users List" <[EMAIL PROTECTED]>
Sent: Friday, November 15, 2002 3:37 PM
Subject: Re: Searching with Multiple Queries


> I say: try it :)
>
> Otis
>
> --- Aaron Galea <[EMAIL PROTECTED]> wrote:
> > I am not sure but I was going to do it by using a QueryParser and
> > creating a
> > filter that iterates over the documents. For each document I check
> > the
> > directory field and use the String.startsWith() function to make it
> > kinda
> > work like Prefix query. The Query and the Filter are then used in the
> > IndexSearcher. Have not tried it yet but I think it will work, what
> > do you
> > say?
> >
> > Thanks
> > Aaron
> >
> >
> > ----- Original Message -----
> > From: "Otis Gospodnetic" <[EMAIL PROTECTED]>
> > To: "Lucene Users List" <[EMAIL PROTECTED]>
> > Sent: Friday, November 15, 2002 3:06 PM
> > Subject: Re: Searching with Multiple Queries
> >
> >
> > > Sounds like 2 queries to me.
> > > You could do a prefix AND phrase, but that won't be exactly the
> > same as
> > > doing a phrase query on subset of results of prefix query.
> > >
> > > Otis
> > >
> > > --- Aaron Galea <[EMAIL PROTECTED]> wrote:
> > > > Hi everyone,
> > > >
> > > > I have indexed my documents using a hierarchical indexing by
> > adding a
> > > > directory field that is indexible but non-tokenized as suggested
> > in
> > > > the FAQ. Now I want to do a search first using a prefix query and
> > > > then apply Phrase query on the returning results. Is this
> > possible?
> > > > Can it be applied at one go? Not sure whether
> > MultiFieldQueryParser
> > > > can be used this way. Any suggestions???
> > > >
> > > > Thanks
> > > > Aaron
> > > >
> > >
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Web Hosting - Let the expert host your site
> > > http://webhosting.yahoo.com
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:lucene-user-unsubscribe@;jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:lucene-user-help@;jakarta.apache.org>
> > >
> > > ---
> > > [This E-mail was scanned for spam and viruses by NextGen.net.]
> > >
> > >
> > >
> >
> >
> > ---
> > [This E-mail was scanned for spam and viruses by NextGen.net.]
> >
> >
> > --
> > 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!?
> Yahoo! Web Hosting - Let the expert host your site
> http://webhosting.yahoo.com
>
> --
> To unsubscribe, e-mail:
<mailto:lucene-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:lucene-user-help@;jakarta.apache.org>
>
> ---
> [This E-mail was scanned for spam and viruses by NextGen.net.]
>
>
>


---
[This E-mail was scanned for spam and viruses by NextGen.net.]


--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@;jakarta.apache.org>

Reply via email to