Did you mean suggestion not correcting words like all, of, the

Hi ,

I am working to achieve did you mean feature in elastic search using phrase suggester, though i am facing issue as it's not correcting words like all , the , of etc.

Below is the phrase suggester :-

"suggest":
{
"text":keyword,

        	       "my-phrase-suggestion": 
        	          {
        	    	    "phrase": 
        	          { 
        	        	  "field": "localized_title",
        	        	  "max_errors":"4"
        	          }
                      }
        	 }

========================
Mapping

"localized_title": {
"type": "text",
"store": true
},
Currently , i am not sure if any properties i need to add to mappings to achieve this.

I have followed below urls :-

https://www.elastic.co/guide/en/elasticsearch/reference/6.1/search-suggesters-phrase.html

These are not correcting words like all , of etc .Kindly please advise .

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