Search fuzzy when normal search returns no results?


(joa) #1

Hi,

is it possible to automatically repeat a search in fuzzy mode when (and
only when) the normal search return no results?
Or is this something I need to do in the backend by simply sending another
request?

Thanks, Joa

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


(Nik Everett) #2

Not that i know of. Instead I use the suggestion API to provide the users with "did you mean" options rather than using a fuzzy search. This has the advantage of sometimes suggesting better phrases even when the users's search found results.

Sent from my iPhone

On Oct 7, 2013, at 5:03 PM, joa joafeldmann@gmail.com wrote:

Hi,

is it possible to automatically repeat a search in fuzzy mode when (and only when) the normal search return no results?
Or is this something I need to do in the backend by simply sending another request?

Thanks, Joa

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.


(simonw-2) #3

On Tuesday, October 8, 2013 1:48:13 PM UTC+2, Nikolas Everett wrote:

Not that i know of. Instead I use the suggestion API to provide the users
with "did you mean" options rather than using a fuzzy search. This has the
advantage of sometimes suggesting better phrases even when the users's
search found results.

+1 to niks suggestion!

simon

Sent from my iPhone

On Oct 7, 2013, at 5:03 PM, joa <joafe...@gmail.com <javascript:>> wrote:

Hi,

is it possible to automatically repeat a search in fuzzy mode when (and
only when) the normal search return no results?
Or is this something I need to do in the backend by simply sending another
request?

Thanks, Joa

--
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 elasticsearc...@googlegroups.com <javascript:>.
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.


(joa) #4

totally convinced, thanks

On Monday, October 7, 2013 11:03:13 PM UTC+2, joa wrote:

Hi,

is it possible to automatically repeat a search in fuzzy mode when (and
only when) the normal search return no results?
Or is this something I need to do in the backend by simply sending another
request?

Thanks, Joa

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


(system) #5