ComfyUI Node
Keyword Search Query (word overlap, not semantic)
Ranks indexed assets by hashed bag-of-words cosine overlap with the query text, with a minimum score and top-k. It matches shared words, not meaning.
Keyword Search Query (word overlap, not semantic)
- keyword_index
- search_results
- results_json
◄query_text►
◄top_k5►
◄min_score0.000►
CategoryParametric/Prompts
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| query_text | STRING | Query text. | |
| keyword_index | KEYWORD_INDEX | Keyword index. | |
| top_k | INT | 51–100 | Top k. From 1 to 100. Default 5. |
| min_score | FLOAT | 0.000-1–1 | Min score. From -1 to 1. Default 0.0. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| search_results | SEARCH_RESULTS | — |
| results_json | STRING | — |