Hi,
I was reading ES docs on multi-match query with a type cross_field but a
bit confused on how it does analysis of given input string.
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html#type-cross-fields
The cross_field type tries to solve these problems at query time by taking
a term-centricapproach. It first analyzes the query string into
individual terms, then looks for each term in any of the fields, as though
they were one big field.
So when it analyzes the query into individual terms, which analyzer and
filter dows it use ? Can we configure it with a specific analyzer and
filter at index time on the fields in mapping ?
I think we can now use multi-match as a replacement for query string ?
Earlier multi-match will match a document only if the query string after
analysis is present entirely in one field but now we can search for a
document where a document consists of all the query terms, no matter if it
is present in one field or a combination of fields. Am I correct ?
Thanks
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a073024d-0f61-4e1c-a6fb-c1be1435b70b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.