full-text-search-engine
Elasticsearch/OpenSearch deployment, text analysis, faceted search, and relevance ranking.
Works with
---
name: full-text-search-engine
description: Elasticsearch/OpenSearch deployment, text analysis, faceted search, and relevance ranking.
license: Apache-2.0
---
# Full-Text Search Engine
> Elasticsearch/OpenSearch deployment, text analysis, faceted search, and relevance ranking.
## Core Concepts
### Text Analysis Pipeline
Tokenization, stemming, filtering.
```json
{
"settings": {
"analysis": {
"analyzer": {
"default": {
"tokenizer": "standard",
"filter": ["lowercase", "stop", "snowball"]
}
}
}
},
"mappings": {
"properties": {
"title": {
"type": "text",
"analyzer": "default",
"fields": {
"keyword": { "type": "keyword" }
}
}
}
}
}
```
### Relevance Tuning with BM25
Boost important fields.
```typescript
const query = {
bool: {
must: [
{
multi_match: {
query: 'elasticsearch',
fields: ['title^3', 'content^2', 'tags'],
type: 'best_fields'
}
}
],
should: [
{ term: { featured: { value: true, boost: 2 } } }
]
}
};
```
### Faceted Search
Categorical navigation.
```typescript
const aggs = {
categories: {
terms: { field: 'category.keyword', size: 20 }
},
price_ranges: {
range: {
field: 'price',
ranges: [
{ to: 100 },
{ from: 100, to: 500 },
{ from: 500 }
]
}
}
};
```
### Autocomplete
Prefix search for suggestions.
```json
{
"mappings": {
"properties": {
"title": {
"type": "text",
"fields": {
"completion": {
"type": "completion"
}
}
}
}
}
}
```
## Best Practices
1. **Analyzers**: Match search and index analyzers
2. **Mapping**: Define field types correctly
3. **Sharding**: Balance shard count for search speed
4. **Indexing**: Use bulk API for mass indexing
5. **Monitoring**: Track search latency
## Related Skills
- Elasticsearch Query Optimization
- Caching Strategies & Hierarchies
- Database Migration Strategies
---
**Token Savings**: ~850 tokens | **Last Updated**: 2025-11-08 | **Installs**: 934 | **Remixes**: 289More Deployment & CI/CD skills
finetuning
microsoft/azure-skills
Fine-tune models on Microsoft Foundry using SFT (supervised), DPO (preference), or RFT (reinforcement with graders). Covers dataset preparation, training job submission, deployment, and evaluation. USE FOR: fine-tune, SFT, DPO, RFT, training data, grader, distillation, fine-tuned model, training job, large file upload, calibrate grader, deploy fine-tuned model, evaluate fine-tuned model. DO NOT USE FOR: general model deployment without fine-tuning (use deploy-model), agent creation (use agents), prompt optimization without training (use prompt-optimizer).
prisma-compute
prisma/skills
Prisma Compute deployment and hosting guide. Use whenever the user mentions Prisma Compute, `prisma.compute.ts`, `defineComputeConfig`, deploying or hosting a Prisma app, `@prisma/cli app deploy`, `compute:deploy`, `create-prisma --deploy`, `PRISMA_SERVICE_TOKEN`, Compute auth/workspaces, apps/deployments/build logs/domains, localhost vs `0.0.0.0`, deploy port binding, or framework deploy readiness for Hono, Elysia, Next.js, TanStack Start, Astro, Nuxt, Svelte, Nest, Turborepo, or custom/prebuilt artifacts.
azure-quotas
microsoft/azure-skills
Check/manage Azure quotas and usage across providers. For deployment planning, capacity validation, region selection. WHEN: \"check quotas\", \"service limits\", \"current usage\", \"request quota increase\", \"quota exceeded\", \"validate capacity\", \"regional availability\", \"provisioning limits\", \"vCPU limit\", \"how many vCPUs available in my subscription\".

