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

Hybrid semantic/text search #266

Open
mbertrand opened this issue Dec 5, 2023 · 1 comment
Open

Hybrid semantic/text search #266

mbertrand opened this issue Dec 5, 2023 · 1 comment
Assignees
Labels

Comments

@mbertrand
Copy link
Member

Description/Context

Experiment with various approaches to running semantic search queries with opensearch, and combining the results from standard text-based search.

Plan/Design

Some relevant links:
https://opensearch.org/docs/latest/search-plugins/hybrid-search/
https://blog.reactivesearch.io/knn-search-with-opensearch-and-openai-embeddings-an-in-depth-guide
https://opster.com/guides/opensearch/opensearch-machine-learning/how-to-set-up-vector-search-in-opensearch/
https://opster.com/guides/opensearch/opensearch-machine-learning/opensearch-hybrid-search/

@mbertrand mbertrand self-assigned this Dec 5, 2023
@mbertrand
Copy link
Member Author

Related doc: https://docs.google.com/document/d/1rERx31uYHDDMDQXgMfaaEI02ucQ_Qz09133m1GddKU4/edit?usp=sharing

Brief summary: Opensearch does not support paging, aggregations, or nested embeddings when performing hybrid searches (yet), but elasticsearch does. Performing separate semantic and text searches, then combining results programatically, is more or less feasible but aggregation counts would not be accurate and paging/scoring would require some custom implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant