module

DataDungeon::Searcher

Searches assets by meaning; SemanticIndex (data_dungeon/semantic) is the one implementation. Declared here so the HTTP API can offer search without requiring Memo.

Instance methods

search(query : String, limit : Int32 = 10, min_score : Float64 | Nil = nil, asset_type : String | Nil = nil, media : String | Nil = nil, tags : Hash(String, String) = {} of String => String, key : String | Nil = nil, key_prefix : String | Nil = nil, facet : String | Nil = nil) : Array(SearchHit)
Source
search_facets(queries : Hash(String, String), asset_type : String, limit : Int32 = 10, min_score : Float64 | Nil = nil, media : String | Nil = nil, tags : Hash(String, String) = {} of String => String, key : String | Nil = nil, key_prefix : String | Nil = nil, depth : Int32 = 500) : Array(SearchHit)
Source
status
Source