When I query the index for field testurl, I'm getting results like this:
"aggregations": {
"sites": {
"doc_count_error_upper_bound": 574889,
"sum_other_doc_count": 41123279,
"buckets": [
{
"key": "http",
"doc_count": 10190076
},
{
"key": "index",
"doc_count": 3673145
},
It seems like the field is still analyzed. When I do a get for the mapping of the index, I don't see the field as not_analyzed. Is the template not working correctly? If so, why?
Did you re-index the data or delete your index, create a new index and add new data? Because just changing the template won't affect whats currently there. The template only adds the string as not_analyzed when a new index is created. It has no affect on existing indexes.
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.