Back to skills
SKILL.md
2511 Hybrid Search Ffd4b768
ASecurityCombines vector similarity and keyword (BM25) matching for balanced search results on a single collection.
- 9 stars
- 0 votes
- 0 copies
- 2 views
- Added October 11, 2026
Works with
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 2511-hybrid_search_ffd4b768 --agent claude-codeAre you the author of 2511 Hybrid Search Ffd4b768?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-2511-hybrid-search-ffd4b768)# Hybrid Search
Combines vector similarity and keyword (BM25) matching for balanced search results on a single collection.
## Usage
```bash
uv run scripts/hybrid_search.py --query "USER_QUERY" --collection "CollectionName" [--alpha 0.7] [--limit 10] [--properties "prop1,prop2"] [--target-vector "vector_name"] [--json]
```
## Parameters
| Parameter | Flag | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `--query` | `-q` | Yes | — | Search query text |
| `--collection` | `-c` | Yes | — | Collection name |
| `--alpha` | `-a` | No | `0.7` | Balance between vector (1.0) and keyword (0.0) |
| `--limit` | `-l` | No | `10` | Maximum number of results |
| `--properties` | `-p` | No | all | Comma-separated properties to search |
| `--target-vector` | `-t` | No | — | Target vector name for named vector collections |
| `--json` | — | No | `false` | Output in JSON format |
## Output
- **Default**: Markdown table with object properties and score
- **JSON**: Array of objects with properties and search metadata
## Examples
Basic hybrid search:
```bash
uv run scripts/hybrid_search.py --query "climate change effects" --collection "Articles"
```
Keyword-heavy search (lower alpha):
```bash
uv run scripts/hybrid_search.py --query "product SKU-1234" --collection "Products" --alpha 0.3
```
Search specific properties with named vector:
```bash
uv run scripts/hybrid_search.py --query "renewable energy" --collection "Papers" --properties "title,abstract" --target-vector "title_vector"
```
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.