Home / Companies / Nhost / Blog / August 2026

August 2026 Summaries

1 posts from Nhost

Filter
Month: Year:
Post Summaries Back to Blog
Semantic search retrieves content based on meaning rather than exact keyword overlap by converting documents and user queries into numerical embeddings and ranking nearby vectors, allowing queries such as “how do I cancel” to match subscription-ending content. The guide explains how pgvector extends PostgreSQL with vector storage and similarity operators, using a vector dimension that matches the selected embedding model and typically cosine distance for ranking results. It compares HNSW, the recommended default for strong recall and immediate querying at higher memory cost, with IVFFlat, which uses less memory but requires representative existing data before index creation. Embeddings must be generated with the same model for both stored content and queries, updated when source rows change, and backfilled in batches for existing datasets. Searches use an ordered cosine-distance query with a result limit, can combine normal SQL filters such as tenant or publication status, and should apply empirically tested distance thresholds to avoid returning irrelevant results. Nhost can automate embedding generation, synchronization, and permission-aware GraphQL search while retaining data in PostgreSQL through pgvector, although it currently supports OpenAI embeddings and updates results on a near-real-time rather than immediate schedule.
Aug 12, 2026 1,736 words in the original blog post.