Grammer + query_string with fuzzy '~'

my mapping (part of it)

"exact": {
      "filter": [
        "my_snow", //grammer
        "my_stop" //stopwords
      "tokenizer": "standard",
      "type": "custom"

Note: exact is search_analyzer and analyzer.

my query

"query": {
"query_string": {
"query": "trending",
"fields": [

  "default_operator": "and"      


while indexing: word trending token: trend
while searching: word trending token: trend
comment : i am getting document which has trending word in it.

but when i search like
while indexing: word trending~ token: trend
while searching: word trending~ token: trend
comment: i am not getting any result.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.