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 . The issue is that it works only on a particular field of the document. The question is how can we make it work for any field in the document?
We tried to create a SPAN near query for each field and then encompass the whole in a boolean query but it does not work. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4093f991-fa00-4fb2-bcf6-8cdd9a59f884%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.