Database / Weaviate Vector database Interview questions
What are properties in a Weaviate collection?
Properties are the named, typed fields that make up a collection's schema, analogous to columns in a relational table, defining what data each object in that collection holds beyond its vector embedding.
Property(name="title", data_type=DataType.TEXT) Property(name="price", data_type=DataType.NUMBER) Property(name="inStock", data_type=DataType.BOOL) Property(name="tags", data_type=DataType.TEXT_ARRAY)
Properties support filtering (narrowing search results to objects matching specific conditions, like price < 50), and text properties are automatically included in the collection's inverted index for BM25 keyword search unless explicitly excluded, which is what makes hybrid search's keyword component work without any extra configuration beyond defining the property itself.
More Related questions...