We have a requirement to phrase wildcard search in elastic search.
The requirement is to search for lets say search for Barce* Me*i and it
should give any document which has Barcelona Messi in a phrase in ANY
field.
We have been able to do it using span near with slop 0, and it works fine
,collect_payloads:false
}
}
here I am searching for comp* engaged as a phrase wildcard in name field.
If I have multiple fields how do I do it? If I have to boost some field is
there a way?
On Tuesday, September 9, 2014 11:02:27 AM UTC-7, Amish Asthana wrote:
We have a requirement to phrase wildcard