Dear all,

let's say you have two multivalued fields with two different complex
analyzers in a quite complex schema.

I would like to match specific combinations of values in these fields.

For instance :

Field1 : Value1, Value2
Field2 : Value3, Value4

I would like to match this document with a query like this one :

+Field1:Value1 +Field2:Value3

But not with this one :

+Field1:Value1 +Field2:Value4

I tried to check the PayloadNearQuery class but this class cannot use two
different fields (due to the SpanNearQuery inheritance).

Is there an easy way to do that ?

Ludovic.



-----
Jouve
France.
--
View this message in context: 
http://lucene.472066.n3.nabble.com/AND-operator-in-multi-valued-fields-tp4159715.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to