It sounds like you may want to use multi field to map the data field as both a keyword and as an analysed text field using the whitespace tokeniser. The tokenised field would mostly give the result you describe, but the last example would match at 60% as 3 out of 5 terms would match.
Since I'm new to Elasticsearch, I'm not quite clear about some concepts yet.
This structure can be modified and the "keyword" type doesn't have to be used. As long as this function can be achieved, it will be okay. Do you know how to do it?
thanks
I would recommend mapping the field using multi field so you have both keyword and text mapping. For some types of queries one my work better than the other.
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.