oasysai / oasysdb

Hybrid vector database with flexible SQL storage engine & multi-index support.
https://docs.oasysdb.com/
Apache License 2.0
357 stars 12 forks source link

FEAT: improve filtering #102

Closed edwinkys closed 4 months ago

edwinkys commented 4 months ago

Purpose

Adding filtering based on metadata when performing a search. This gives a better search result due to the nature of predeterministic of the filter that ANN doesn't provide.

Solution

This implementation must be pre-filtering. This means the filtering happens not after the result of ANN but during the creation of nearest neighbors candidate pool.