Skip to content

support pre-filtering in docarray for annlite and qdrant #263

@alaeddine-13

Description

@alaeddine-13

add support for pre-filtering features in docarray for annlite, weaviate and qdrant.
This will require

  • modify the interface of find and add parameter filter, by default None. Handle the following cases:
    • If filter is not None and query is vector => perform filtered vector search if supported otherwise raise error.
    • If filter is not None and query is None => perform filter operation.
    • If query is a dict and filter is None, perform a filter operation.
    • If filter is not None and and query is not None or vector, raise error.
  • defining the schema of tags
  • modifying set_doc_by_id and making sure to include tags specified in the schema definition
  • add parameter filter to find and use it to pre-filter

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions