Problem with using fuzzy completion suggest

Hi all - I am trying to use completion suggest with fuzziness=2 and for
some reason I am not able to get the text when the query string differs
even slight from the original string.

Here is a snippet of my request string:

"completionSuggestionFuzzyIdPrefix" : { "text" : "Jack Smmth",
"completion" : { "field" : "fullNameSuggest", "fuzzy" :
{ "edit_distance" : 2 } }

I have the value in completion suggest field as "Jack Smith" and hence I am
hoping the above request to return me the fuzzy match 'Jack Smith'.
Here is my mapping:

"fullNameSuggest": { "type" :
"completion", "index_analyzer" :
"simple", "search_analyzer" : "simple",
"payloads": true }

Any clue what might be going wrong here?

-Amit.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

please ignore this, I was doing something stupid. my apology!

-Amit.

On Tue, Nov 19, 2013 at 7:04 PM, Amit Soni amitsoni29@gmail.com wrote:

Hi all - I am trying to use completion suggest with fuzziness=2 and for
some reason I am not able to get the text when the query string differs
even slight from the original string.

Here is a snippet of my request string:

"completionSuggestionFuzzyIdPrefix" : { "text" : "Jack Smmth",
"completion" : { "field" : "fullNameSuggest", "fuzzy" :
{ "edit_distance" : 2 } }

I have the value in completion suggest field as "Jack Smith" and hence I
am hoping the above request to return me the fuzzy match 'Jack Smith'.
Here is my mapping:

"fullNameSuggest": { "type" :
"completion", "index_analyzer" :
"simple", "search_analyzer" : "simple",
"payloads": true }

Any clue what might be going wrong here?

-Amit.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.