Aw: Re: Re: combine to MultiTermQuery with OR

2015-02-11 Thread Sascha Janz
many thanks. the understanding of the meaning of BooleanClause.Occur.SHOULD was my problem. now the query works as expected. greetings Sascha     Gesendet: Dienstag, 10. Februar 2015 um 21:17 Uhr Von: "Ian Lea" An: java-user@lucene.apache.org Betreff: Re: Re: combine to MultiTerm

Re: Re: combine to MultiTermQuery with OR

2015-02-10 Thread Ian Lea
Yep, that looks good to me. -- Ian. On Tue, Feb 10, 2015 at 5:01 PM, Sascha Janz wrote: > hm, already thought this could be the solution but didn't know how to do the > or Operation > > so i tried this > > BooleanQuery bquery = new BooleanQuery(); > bquery.add(queryFieldA, BooleanClause.Occu