Query_string, mutli field and the "analyzer" parameter

Hi all,

I'm just making sure my thinking around this is correct. When you use the
"query_string" query WITHOUT the "analyzer" parameter set while running it
against multiple fields does each query against each of the fields use that
fields default search analyzer? Or do they all use one search analyzer set
somehow? Does this change when using dis_max vs bool?

Thanks in advance

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

It will use each field default search analyzer. It applies to both dis_max and bool.

On Feb 28, 2013, at 10:53 AM, William King willtrking@gmail.com wrote:

Hi all,

I'm just making sure my thinking around this is correct. When you use the "query_string" query WITHOUT the "analyzer" parameter set while running it against multiple fields does each query against each of the fields use that fields default search analyzer? Or do they all use one search analyzer set somehow? Does this change when using dis_max vs bool?

Thanks in advance

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Hello,

if it is the case why I got differents results by querying:

  • toto
  • myterm:toto

See my example here:
https://groups.google.com/d/msg/elasticsearch/wahlrLlxVwQ/ulir17TfmAYJ

Many thanks,

-- Johnny

On Thursday, February 28, 2013 5:16:58 PM UTC+1, kimchy wrote:

It will use each field default search analyzer. It applies to both dis_max
and bool.

On Feb 28, 2013, at 10:53 AM, William King <willt...@gmail.com<javascript:>>
wrote:

Hi all,

I'm just making sure my thinking around this is correct. When you use the
"query_string" query WITHOUT the "analyzer" parameter set while running it
against multiple fields does each query against each of the fields use that
fields default search analyzer? Or do they all use one search analyzer set
somehow? Does this change when using dis_max vs bool?

Thanks in advance

--
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 elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.