一键导入
apply-falkordb-index-aware-predicates
Write predicates that let FalkorDB use indexes and avoid full scans in read queries
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Write predicates that let FalkorDB use indexes and avoid full scans in read queries
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use algo.SPpaths/algo.SSpaths procedures and variable-length patterns to find paths in read queries
Search text properties with the db.idx.fulltext.queryNodes procedure when a full-text index exists
Prefix read queries with CYPHER parameters for plan caching and safer value handling
Find nearest-neighbor nodes with the db.idx.vector.queryNodes procedure when a vector index exists
| name | Apply FalkorDB index-aware predicates |
| description | Write predicates that let FalkorDB use indexes and avoid full scans in read queries |
Design WHERE predicates so FalkorDB can use indexes instead of scanning every node.
Apply equality or range predicates directly to indexed properties. Avoid not-equal filters and avoid wrapping the indexed property in a function.
MATCH (p:Person)
WHERE p.age >= 30 AND p.age < 40
RETURN p.name, p.age
<> / !=) predicates are not index-accelerated and force a full scan; use them only when
exclusion is explicitly required.=) and range (<, <=, >, >=) predicates on indexed properties can use an index scan.toLower(p.name) = 'alice') prevents index use; keep
the indexed property bare on one side of the predicate when an index exists.