You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should be able to set this via the type method, but for some reason, elastic.js restricts this to only have the values of boolean, phrase or phrase_prefix (https://github.com/fullscale/elastic.js/blob/master/src/query/MultiMatchQuery.js#L283). If I remove this validation, I am able to successfully run a cross-fields search. ElasticSearch docs say valid values include best_fields, most_fields, cross_fields, phrase, phrase_prefix. I would guess that this was changed at some point and elastic.js hasn't been updated to match. I will try and submit a pull request for this.
Hello,
I try to set "cross-fields" in MultiMatchQuery
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html#type-cross-fields
I don't find this parameter, do you know if it's possible to set it ?
Thanks,
Antoine
The text was updated successfully, but these errors were encountered: