Phrase Suggester working flow

Hello ,

please tell me the working of phrase suggester because if i search centr it gives center,centre,central suggestions but if i search centre it does not give any suggestion why?

please any one explain for me .

Thanks

Did you have a read of https://www.elastic.co/guide/en/elasticsearch/reference/2.3/search-suggesters-phrase.html#search-suggesters-phrase?

thanks for reply,
yes i have read this .
but i did not find any reasion why does it give suggestion on centr and why does it not give suggestion on centre

That'd depend on the various settings you have passed into the query, what does your query look like?

this is my query

"suggest":{
"text":"centre",
"simple_phrase":{
"phrase":{
"analyzer":"standard",
"field":"_all",
"size":5,
"real_word_error_likelihood":0.2,
"max_errors":4,
"confidence":2,
"highlight":{
"pre_tag":"",
"post_tag":""
},
"direct_generator":[
{
"field":"_all",
"suggest_mode":"always",
"min_doc_freq":3,
"min_word_len":1
}
],
"collate":{
"query":{
"match_phrase":{
"_all":"{{suggestion}}"
}
},
"prune":true
}
}
}
}