LexicalTagBackend๏
Inherits: SemanticSearchBackend < RefCounted < Object
Semantic search backend backed by the lexical asset tag index.
Description๏
Delegates search, similarity, rebuild, and stats calls to SemanticAssetIndex. This is the default lightweight backend when embedding providers are not required.
Methods๏
find_similar(path: String, limit: int = 10) const |
|
get_stats() const |
|
rebuild() |
|
Method Descriptions๏
Array find_similar(path: String, limit: int = 10) const ๐
Returns up to limit assets similar to the indexed asset at path.
Dictionary get_stats() const ๐
Returns statistics from the underlying SemanticAssetIndex.
Rebuilds the lexical index via SemanticAssetIndex.rebuild_index(). Returns @GlobalScope.OK on success, or an Error if the index is unavailable.
Array search(query: String, limit: int = 20) const ๐
Searches indexed assets for query and returns up to limit matches.