Mailing List Archive

Question about lucene search query?
Hi all, I want to use lucene to search type like (A or B) and C, and I
used (+A +B) +C , but the result seems not what I want. How should I
change my query?

--
Li-Hao Cho
cholihao@gmail.com
Department of Computer Science
National Cheng Chi University, Taipei, Taiwan, R.O.C."
Re: Question about lucene search query? [ In reply to ]
Hi Li-Hao,

You'll get much faster/better responses using the java-user list than
the general@lucene.apache.org list.

I assume you're using Lucene's QueryParser. How about:

+(A B) +C

Steve

>>> cholihao@gmail.com 07/19/07 4:09 AM >>>
Hi all, I want to use lucene to search type like (A or B) and C, and I
used (+A +B) +C , but the result seems not what I want. How should I
change my query?

--
Steve Rowe
Center for Natural Language Processing
http://www.cnlp.org/tech/lucene.asp