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:
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".
Le 6 février 2014 at 12:05:25, Guillermo Arias del Río (ariasdelrio@gmail.com) 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:
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".
Le 6 février 2014 at 12:05:25, Guillermo Arias del Río (arias...@gmail.com<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.
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".
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.