search_index_index_search
Search an index using a keyword query to retrieve top matching documents ranked by BM25 relevance score. Optionally restrict the search to a specific field for targeted results.
Instructions
[search_index] Search an index with a keyword query. Returns top matching documents with _score (BM25). field restricts to one field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| query | Yes | ||
| top_n | No | ||
| field | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |