It would appear the fuzzy queries do not run the query through analysis
first, but that the fuzzy_like_this and fuzzy_like_this_field queries do.
Is there any reason why this is the case? I can think of many cases where
analyzing a fuzzy query would be desired.
As an example if I have a field "name" using the "simple" analyzer, and I
index the word "Vacuum", then ideally the query text "Vacuummm" should be
analyzed down to "vacuummm", giving it an edit distance of 2, rather than
an edit distance of 3, not running it through the lower-casing analyzer
would give.
--
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.
It would appear that the best way to do this is to specify the 'fuzziness'
parameter on a match query. The fuzzy type seems much less useful.
On Monday, November 25, 2013 3:10:31 PM UTC-8, Andrew Cholakian wrote:
It would appear the fuzzy queries do not run the query through analysis
first, but that the fuzzy_like_this and fuzzy_like_this_field queries do.
Is there any reason why this is the case? I can think of many cases where
analyzing a fuzzy query would be desired.
As an example if I have a field "name" using the "simple" analyzer, and I
index the word "Vacuum", then ideally the query text "Vacuummm" should be
analyzed down to "vacuummm", giving it an edit distance of 2, rather than
an edit distance of 3, not running it through the lower-casing analyzer
would give.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/05e74977-2a1b-47ad-8906-a9ec0d1fbdb6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.