Database / Weaviate Vector database Interview questions
Explain the data flow of an object being vectorized and indexed in Weaviate?
Inserting an object into a collection with a configured vectorizer involves several steps between the client's insert call and the object becoming fully searchable via its vector index.
Once the client submits an object, Weaviate sends its relevant text (or other configured source properties) to the vectorizer module, which returns an embedding. In parallel, Weaviate updates the inverted index used for BM25 keyword search from the object's text properties, and inserts the new vector into the collection's configured vector index (HNSW, Flat, or Dynamic). All of this, the raw object, its vector, and the index structures, gets persisted to disk, and the object becomes searchable via vector, keyword, or hybrid queries once this pipeline completes.
More Related questions...