lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sascha Janz" <>
Subject combine to MultiTermQuery with OR
Date Tue, 10 Feb 2015 15:28:55 GMT

i want to combine two MultiTermQueries.
One searches over FieldA, one over FieldB.  Both queries should be combined with "OR" operator.
so in lucene Syntax i want  to search
FieldA:Term1 OR FieldB:Term1,   FieldA:Term2 OR FieldB:Term2, FieldA:Term3 OR FieldB:Term3...
how can i do this?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message