I am pretty new to elastic app search. I am facing problem with how to do an advanced search in different field within a query.
So for example, I have an object Ojb, and it has multiple fields that I want to do individual searches on. Ojb(field1, field2, field3, field4).
I want to have searchFields has all of the 4 fields that I would like to search, and in the query string, I want to have for example "f1query, f2query, f3query, f4query", and each of the query in this string will do search in corresponding fields, e.g. f1query search in field1.
Those f1query / f2query/... could be null if I don't want to search anything on that field. For example the query might look like "f1query,,,f4query" which means I only want to search on the 1st and 4th fields.
Could you guys give me some suggestion on how to do this?
I really appreciate your help!!