Hello
I have an indexed field in my elastic:
"HTTP_Error_Body" : {
"type" : "text",
"norms" : false,
"index_options" : "docs"
}
At version 5.5 when I searched kibana by guid enclosed in quotation marks (in order to find error messages, which contained it), I succesfully got the results, for example:
"ec22e9d2-98b2-11e0-b8c2-0017085b945f"
the value of HTTP_Error_Body in result:
ec22e9d2-98b2-11e0-b8c2-0017085b945f; blah blah />
But in v. 6.6 such search returns nothing, although mapping and queries are the same.
can you please probive a fully reproducible example for 6.6 and 5.6. Without the mapping, the index creation and the full query it will be nearly impossible to properly reproduce.
If I run them for both 5 and 6 version, I get differrent search result: 1 result at v.5 (as intended) and no results at v.6
All other settings between the instances are the same/
I've also noticed that if I remove the line "index_options": "docs"
from mapping, the search at v6 works fine, but this is not a solution, as I don't want to change indexing type. Could not find any clues in changelogs as well
Thanks, Alexander. But that's the way kibana searches, I took queries from there.
Does that mean that it is no longer possible to get results I need by typing "ec22e9d2-98b2-11e0-b8c2-0017085b945f" in kibana search field?
It's also not quite clear for me why does index_options affect the searchablity of my guid if _all field is switch off anyway
Thank you, Alexander.
As far as i understand first solution is to create a custom field "all" with default index_options value and make a rule to copy all other indexable fields to it. It will also be required to switch default_field to "all" for kibana.
On the other hand, I can just switch index_options for all fields to default value. I did not want to do that, but apparently on my data it takes ~30% less disk space.
So, the question is: What would be a right choice here?
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.