Skip to content

Feature: Search based on distance threshold instead of count #605

@laurenspriem

Description

@laurenspriem

Describe what you are looking for

It would be really helpful to have search functionality where we can search for all embeddings withing a certain distance threshold.

The current search api is bit clunky for this, right now I have to set the count parameters purposefully too high and then do a second round filtering to get only the embeddings within my desired range. An alternative search method with a threshold parameter instead of a count parameter would be really helpful.

(I'm using usearch in rust, so would be great if it can also be added to the rust bindings.)

Can you contribute to the implementation?

  • I can contribute

Is your feature request specific to a certain interface?

It applies to everything

Contact Details

laurenspriem

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions