Hi,
Need to formulate a distinctive field values query on 4 fields with minimum match on 2 fields I have 4 fields in my core Code 1 : Values between 1001 to 9999 Code 2 : Values between 1001 to 9999 Code 3 : Values between 1001 to 9999 Code 4 : Values between 1001 to 9999 I want to formulate a query in following manner Code 1 : 3333 Code 2 : 4444 Code 3 : 5555 Code 4 : 6666 I want to formulate a query, given above parameters, the result should contain documents where at least 2 of the above match. Thanks and Regards, Prasanna