-
Is it possible to use the
multi_matchElasticSearch query with the/api/user/searchendpoint? -
I believe so. When you use the
queryoption, we are essentially passing that query object straight through. -
I tried to use
multi_matchin search-query without success. The following query does not find users? Any suggestions why?{ "bool" : { "must" : [ { "multi_match" : { "query" : "*", "fields" : [ "firstName^3", "lastName^3", "email" ] } } ] } } -
It looks like multi match (at least as of 2019) doesn't support wildcards:
[a]
multimatchquery requiresmatchqueries as its internal queries. And amatchquery doesn't support wildcards.https://discuss.elastic.co/t/query-with-multimatch-and-wildcard/189962
Can you try with a non wildcard query?
-
D dan moved this topic from Q&A on
-
D dan moved this topic from Frequently Asked Questions (FAQ) on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login