Displaying 1 result from an estimated 1 matches for "original_results".
2008 Jan 21
1
fuzzy search question
Hi,
I''ve got a question about FuzzyQueries. Say I''m doing a search for
people by name, and I want to allow fuzzy results if there aren''t
enough hits with a regular query. This is easy enough; just redo the
search with the fuzzy query if original_results.total_hits is less
than some threshold. However, I would like the exact-match results to
have a higher score (show up as the first results) than the fuzzy-
match results. One really clumsy way of doing this is to do the two
searches and concatenate the results in order into a new set of
re...