Skip to content

knnCollector is faster than topNCollector #2250

@huhu007

Description

@huhu007

when search knn with text filter, it uses EligibleCollector first, and does knn query by filtered result from EligibleCollector, but when only search text with the same text condition, it uses TopNCollector, which is much slower.
So how can i make text search faster than KNNWithFilter SearchRequest?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions