Quantcast
Channel: Weaviate Community Forum - Latest posts
Viewing all articles
Browse latest Browse all 3590

Issue with Vector Search Accuracy – Struggling with Negative Expressions

$
0
0

Hi @Rohini_vaidya,

This is indeed a challenging in vector search. I would suggest considering Hybrid Search as an approach to improve accuracy, especially for queries involving negatives. Weaviate supports combining vector search with keyword-based search, which can help capture specific terms like “doesn’t” or “not”. You can adjust the balance between vector and keyword search using the alpha parameter.

Additionally, have a look at Tokenization config for the properties where the default is WORD, or you could leverage Field if that works better for your use case.

While you’ve already tuned HNSW parameters, it’s worth noting that the ef parameter is crucial for balancing search speed and quality. A higher ef value results in a more extensive search, enhancing accuracy but potentially slowing down the query.


Viewing all articles
Browse latest Browse all 3590

Trending Articles