Elastic search : Is there any suffix query/filter

Sir,

Is there any suffix query in elastic search. I can retrieve data from
document by using prefix query. how can I retrieve data from document by
using a suffix of any string. for example by using prefix we can search a
string like "Education" with "Edu"
{
"prefix" : {
"system":"Edu"
}
}

It is possible to search same string with its suffix i.e. "Education"
with its "ion" or with its middle letters like "cat".

Thanks and regards
Mohit Kumar Yadav

--
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.

You should look at Ngram tokenizer. It will probably help here.

HTH

David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 8 févr. 2013 à 06:52, Mohit Kumar Yadav mohit.kumar.ngi@gmail.com a écrit :

Sir,

Is there any suffix query in elastic search. I can retrieve data from document by using prefix query. how can I retrieve data from document by using a suffix of any string. for example by using prefix we can search a string like "Education" with "Edu"
{
"prefix" : {
"system":"Edu"
}
}

It is possible to search same string with its suffix i.e. "Education" with its "ion" or with its middle letters like "cat".

Thanks and regards
Mohit Kumar Yadav

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.

--
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.