I want to create suggester with autocomplete feature. Currently, suggestions are coming on prefix which i need to change. For example: I have machine name as ROV Magnum 001. My current suggester is working fine if I type ROV but if I type Magnum then it won't show in suggestion. I want to implement this. I can use match_phrase_prefix but that would not give me suggestions, only results.
Is there any way in which i can search the words from in between and show it as suggestion.
HI,
you can make something with aggregation and include regex on the field to have value can be selected in your autocompletion list with the partial value tape by the user. But there is another issue, the regex it's not insensitive.
See https://github.com/elastic/elasticsearch/issues/68819
I'm currently working to find another solution. perhaps ...
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.