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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
