Class: Autoselect::TaxonName::Levels::Smart
- Inherits:
-
Levels::Smart
- Object
- Level
- Levels::Smart
- Autoselect::TaxonName::Levels::Smart
- Defined in:
- lib/autoselect/taxon_name/levels/smart.rb
Overview
Delegates to the existing TaxonName autocomplete query. Full fuzzy/similarity matching using GIN indexes and trigrams.
Constant Summary
Constants inherited from Levels::Smart
Levels::Smart::RECENT_LIMIT, Levels::Smart::RECENT_WINDOW
Constants inherited from Level
Level::DEFAULT_FUSE_MS, Level::EXTERNAL_FUSE_MS, Level::MINIMUM_RESULTS
Instance Method Summary collapse
Methods inherited from Levels::Smart
#call, #description, #filter_class, #key, #label, #pinboard_model_name, #pinboard_records, #pinboard_top_record, #recent_records, #recent_records_by_user
Methods inherited from Level
#call, #description, #external?, #fuse_ms, #key, #label, #metadata, #minimum_results, #model_key, #record_info, #record_info_html, #record_label, #record_label_html
Instance Method Details
#query_class ⇒ Object
9 10 11 |
# File 'lib/autoselect/taxon_name/levels/smart.rb', line 9 def query_class ::Queries::TaxonName::Autocomplete end |