I recently moved from elastic search 5.5 to 6.1.2. After moving to the new version, all elastic search wildcard queries on _id is not returning any hits. This code used to work in 5.5. We verified this using my application as well as kibana. We have also taken care of having only one type mapping "doc" in a single index.
POST group_topic/doc/_search
{
"query":{"wildcard": {
"_id": "g*"
}
}
}
I will try to change it, by moving this into one of the mapping fields. The same query was working using _uid instead of _id in 5.5. Was there any change in 6.x? which affected this query.
Can you please explain me why is this a bad idea ?. Is this going to affect any performance?
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.