Class: FuzzyMatcher::Searcher

Inherits:
Object
  • Object
show all
Defined in:
lib/fuzzy_matcher/searcher.rb

Class Method Summary collapse

Class Method Details

.find(level_values, conn, distance_function, height, accuracy, aim) ⇒ Object



4
5
6
7
8
# File 'lib/fuzzy_matcher/searcher.rb', line 4

def find(level_values, conn, distance_function, height, accuracy, aim)
  conditions = condition_string(level_values, distance_function, accuracy, aim)
  result = conn.send_find_query(conditions)
  clarify_result(conn, distance_function, accuracy, aim, result)
end