Hi Li-Hao, You'll get much faster/better responses using the java-user list than the [email protected] list.
I assume you're using Lucene's QueryParser. How about: +(A B) +C Steve >>> [EMAIL PROTECTED] 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
