lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Spencer <dave-lucene-u...@tropo.com>
Subject Re: Various kind of queries
Date Fri, 25 Jun 2004 06:12:07 GMT
Hetan Shah wrote:

> Hello,
>
> You guys have been great! I read lots of threads and am learning a lot 
> about Lucene.
>
> Can any one point me to right direction or show me a code sample where 
> I can build queries for  'any word' 'all words' and 'phrase. I tried 
> to look on the Lucene FAQ but I did not understand how to go about it. 
> Any code sample would be really helpful. I am guessing that I would 
> have to use PhraseQuery and BooleanQuery and QueryParser classes. Not 
> sure about the syntax.


You mean build in code right? Thus you won't need QueryParser. Here's 
code I posted a while ago:

http://java2.5341.com/msg/51792.html

Note: is this the only archive of lucene-user? I thought it used to be 
somewhere else...

>
> Thanks.
> -H
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>


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


Mime
View raw message