lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Searching with Multiple Queries
Date Fri, 15 Nov 2002 14:37:19 GMT
I say: try it :)

Otis

--- Aaron Galea <agale@nextgen.net.mt> 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" <otis_gospodnetic@yahoo.com>
> To: "Lucene Users List" <lucene-user@jakarta.apache.org>
> 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 <agale@nextgen.net.mt> 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>


Mime
View raw message