Perform advanced search queries combining vector search, full-text search, and SQL filtering. This endpoint supports multiple search paradigms including vector similarity search, keyword-based search using BM25, and hybrid search with automatic reranking.
name of the table
The query vector for similarity search. Must match the dimensionality of your vector column. Use this for semantic search, recommendation systems, or any similarity-based queries.
[0.1, 0.2, 0.3]Configuration for full-text search using BM25 algorithm.
The vector column to search in. Can be omitted if the table has only one vector column. Required when multiple vector columns exist in the table.
"vector"
Whether to apply the filter before vector search. Use true for complex filters to improve performance,
false for simple filters where post-filtering is more efficient.
The number of search results to return. Higher values provide more candidates but may impact performance.
1 <= x <= 1000The number of results to skip for pagination. Useful for implementing paginated search interfaces.
x >= 0Distance metric to use for vector similarity search. The choice of metric significantly impacts search accuracy and performance.
Important: Use the same distance metric that your embedding model was trained with. Most modern embedding models use cosine similarity.
L2, Cosine, Dot Whether to bypass the vector index and perform exhaustive search. Use only for small datasets or debugging. Significantly slower but guarantees exact results.
SQL filter expression to apply to the search results. Supports complex boolean logic, comparisons, and functions.
Examples: category = 'shoes', price BETWEEN 50 AND 200, created_at > '2024-01-01'
"category = 'shoes' AND price < 100"
The columns to return in the results. If not specified, returns all columns. Use this to optimize response size and improve performance.
Number of IVF partitions to search. Higher values improve recall but increase query time. Recommended range: 1-100 for most use cases, higher for very large datasets.
1 <= x <= 1000Refinement factor for improved accuracy. When set, re-ranks refine_factor * k results using exact vectors.
Use for applications requiring high precision at the cost of some speed.
x >= 1top k results if query is successfully executed
The response is of type file.