Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSearch: allow boolean filter search for ANN #2924

Closed
duffn opened this issue Apr 15, 2023 · 1 comment
Closed

OpenSearch: allow boolean filter search for ANN #2924

duffn opened this issue Apr 15, 2023 · 1 comment

Comments

@duffn
Copy link

duffn commented Apr 15, 2023

The OpenSearch documentation notes that you may use a boolean filter for ANN search: https://opensearch.org/docs/latest/search-plugins/knn/filter-search-knn/#boolean-filter-with-ann-search

It would be nice to allow passing in a boolean filter to the OpenSearch vector store similarity_search function.

@naveentatikonda
Copy link
Contributor

@duffn Thank you for creating this github issue. Will add support for passing a boolean filter to similarity_search function.

samching pushed a commit to samching/langchain that referenced this issue May 1, 2023
…-ai#3038)

### Description
Add Support for Boolean Filter with ANN search
Documentation -
https://opensearch.org/docs/latest/search-plugins/knn/filter-search-knn/#boolean-filter-with-ann-search

### Issues Resolved
langchain-ai#2924

Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants