Comparing multiple fields with multiple expected values

I am building a search function and would like to know the best approach to implement the following scenario:

  • I am using multiple text fields say x1,x2,x3,x4.
  • All fields may contain value or be empty.
  • In case there is a value I need to apply matching using fuzziness to get all possible documents that matches the inputs.
  • In case of empty values in x2 or x3, the document considered as matching and should be returned in the result.
  • Preferred to be using Java API
    Best regards

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.