Hi, David,

Thanks for the tip about not having to repeat the field name... reading 
here<http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/_multi_fields.html>,
 
I didn't notice that difference :)

It works now.

El jueves, 6 de febrero de 2014 12:07:37 UTC+1, David Pilato escribió:
>
> Not tested but I think you should do something like: 
> https://gist.github.com/dadoonet/8842209
>
> HTH
>
> -- 
> *David Pilato* | *Technical Advocate* | *Elasticsearch.com*
> @dadoonet <https://twitter.com/dadoonet> | 
> @elasticsearchfr<https://twitter.com/elasticsearchfr>
>
>
> Le 6 février 2014 at 12:05:25, Guillermo Arias del Río 
> ([email protected]<javascript:>) 
> a écrit:
>
> Hi, all! 
>
> I am using multi fields in my application in order to be able to search 
> using different index analyzers and perform faceting on the "untouched" 
> version of the field. The untouched version is always called like the field 
> itself and marked as "not_analyzed". This enables me to use the name 
> directly on the facets. On the other hand, I have an "index_analyzer" for 
> my whole type. This wasn't a problem with ES 0.90, but it is with 1.0rc1.
>
> A Gist is worth a thousand words:
>
> https://gist.github.com/ariasdelrio/8842138
>  
> Just removing the "index_analyzer" makes it work.
>
> Do I miss something? I thought that this "index_analyzer" is only used 
> when no one is specified for an analyzed field, but the field is 
> "not_analyzed".
>
> Cheers,
>
> Guillermo.
>  --
> 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 [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elasticsearch/4e50b688-1a48-444c-8925-f4015a35129d%40googlegroups.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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/a71c3a0f-2438-46bc-bd5e-ff2b9e60461a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to