I have a search functionality implemented and i am trying to search string that contains "." or "-" e.g a-test or a.test
Can you please how to do it as my existing query is not helping : {"query":{"query_string":{"query":"a-f*","default_field":"description","fields":[],"type":"best_fields","default_operator":"or","max_determinized_states":10000,"enable_position_increments":true,"fuzziness":"AUTO","fuzzy_prefix_length":0,"fuzzy_max_expansions":50,"phrase_slop":0,"escape":false,"auto_generate_synonyms_phrase_query":true,"fuzzy_transpositions":true,"boost":1.0}},"aggregations":{"buckets":.......................... rest aggregation