Hi All,
I would like to use not_analyzed along with lower-case tokenizer. So that,
tokens of not analyzed field will store in lower-case.
is it possible to do above thing?
Regards,
Ankit
--
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.
Hi Ankit,
Setting a field to not_analyzed instructs ES to not change anything. What
you need is analyzed with a custom text processing. You can combine the
keyword tokenizer
(Elasticsearch Platform — Find real-time answers at scale | Elastic
) with the lowercase token filter
( Elasticsearch Platform — Find real-time answers at scale | Elastic
)
You need to define a custom analyzer during index creation
( Elasticsearch Platform — Find real-time answers at scale | Elastic
) and then refer to it in your mapping (using the analyzer setting on the
field in question)
Cheers,
Boaz
On Friday, July 5, 2013 12:32:07 PM UTC+2, Ankit Jain wrote:
Hi All,
I would like to use not_analyzed along with lower-case tokenizer. So that,
tokens of not analyzed field will store in lower-case.
is it possible to do above thing?
Regards,
Ankit
--
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.