Prompt
What should I use for fresh indexing of docs and tickets into RAG?
Latest observation
Nov 5, 2026
OpenAI APIWeb search: off
For fresh indexing into a RAG system, the usual best choice is a delta / incremental indexing pipeline rather than re-indexing everything.
What to use
- Event-driven ingestion if docs/tickets are created or updated frequently
- e.g. webhook, message queue, CDC, or polling with change timestamps
- Incremental upserts into your vector store / search index
- update only changed chunks, delete stale chunks, insert new ones
- Chunk-level versioning
- store
document_id,chunk_id,version,updated_at,source_hash
- store
- Hybrid retrieval
- vector + keyword search tends to work better for tickets and operational docs
- Freshness-aware reranking
- boost recently updated items when query intent benefits from recency
Practical recommendation
If you’re indexing docs + support tickets:
- Detect changes via webhook or scheduled sync
- Normalize content
- Split into stable chunks
- Compute embeddings for only new/changed chunks
- Upsert into the index
- Mark removed chunks as deleted
- Keep metadata for recency, source, and status
If you mean “what stack”
A common setup is:
- Ingestion/orchestration: Airflow, Dagster, Temporal, or just background workers
- Queue: Kafka, RabbitMQ, SQS, Pub/Sub
- Index: Pinecone, Weaviate, Qdrant, Elasticsearch/OpenSearch, or pgvector
- Embeddings: OpenAI embeddings or another strong embedding model
- Parser/chunker: custom logic or frameworks like LlamaIndex / LangChain
Rule of thumb
- Low volume, simple setup: scheduled incremental sync every few minutes
- High volume or near-real-time: event-driven + queue + incremental upserts
If you want, I can suggest the best architecture for your scale (small, medium, enterprise) or recommend a specific stack for docs/tickets.