200 OK
response to the client, guaranteeing the durability of the write, and two processes begin in parallel: The index is rebuilt and the records are added to a separate freshness layer.
top_k
records. If the query includes a metadata filter, records that don’t match the filter are excluded before records are ranked. If the query includes a sparse vector value (i.e., hybrid search), the sparse value is considered when ranking records.
In parallel, records in the freshness layer are ranked based on the similarity of their dense vector value to the dense vector value in the query and the top_k
records are chosen.
The top_k
records from the cluster data files and from the freshness layer are then merged and deduplicated, and final results are returned to the client.