Closed DiegoPino closed 2 months ago
@alliomeria this requires a few extra lines of code still. Works well but if I want to search for vectors and also want Filters I want/need to be sure I can also decide if the Filter applies BEFORE the vector (means I reduce the set, then I make the expensive KNN search) OR after (e.g if I want only returns if score 0.7>)
This explains this in a bit more depth https://solr.apache.org/guide/solr/latest/query-guide/dense-vector-search.html This is specially important when using facets. Do we want facets to be applied before the KNN (so we always get e.g 10 results) or After (so we do get less than 10 even if topK is 10)
See #325
This stuff works now.
Requires a fixed entry in schema_extra_fields.xml
like
plus the provided types in
schema_extra_types.xml
Supporting code provided by https://github.com/esmero/strawberry_runners/pull/92