-
Notifications
You must be signed in to change notification settings - Fork 501
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
Remove model requirement from hybrid search documentation #7511
Conversation
Signed-off-by: Fanit Kolchina <[email protected]>
@navneet1v Could you review this PR please? |
_search-plugins/hybrid-search.md
Outdated
@@ -12,7 +12,7 @@ Introduced 2.11 | |||
Hybrid search combines keyword and neural search to improve search relevance. To implement hybrid search, you need to set up a [search pipeline]({{site.url}}{{site.baseurl}}/search-plugins/search-pipelines/index/) that runs at search time. The search pipeline you'll configure intercepts search results at an intermediate stage and applies the [`normalization_processor`]({{site.url}}{{site.baseurl}}/search-plugins/search-pipelines/normalization-processor/) to them. The `normalization_processor` normalizes and combines the document scores from multiple query clauses, rescoring the documents according to the chosen normalization and combination techniques. | |||
|
|||
**PREREQUISITE**<br> | |||
Before using hybrid search, you must set up a text embedding model. For more information, see [Choosing a model]({{site.url}}{{site.baseurl}}/ml-commons-plugin/integrating-ml-models/#choosing-a-model). | |||
To follow this example, you must set up a text embedding model. For more information, see [Choosing a model]({{site.url}}{{site.baseurl}}/ml-commons-plugin/integrating-ml-models/#choosing-a-model). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we mention that having a embedding model is not required if you already have the embeddings for the text
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, they can just directly set up hybrid search, correct? I added that sentence.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no actually thats not the case. What we need to tell them is if you already have the embeddings directly ingest the embeddings and skip the ingest pipeline creation step.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. I revised the sentence.
Signed-off-by: Fanit Kolchina <[email protected]>
Signed-off-by: Fanit Kolchina <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a minor addition 😄
Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: kolchfa-aws <[email protected]>
* Remove model requirement from hybrid search documentation Signed-off-by: Fanit Kolchina <[email protected]> * Review comment Signed-off-by: Fanit Kolchina <[email protected]> * Revised sentence Signed-off-by: Fanit Kolchina <[email protected]> * Update _search-plugins/hybrid-search.md Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> --------- Signed-off-by: Fanit Kolchina <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> Co-authored-by: Nathan Bower <[email protected]> (cherry picked from commit 72713ab) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…-project#7511) * Remove model requirement from hybrid search documentation Signed-off-by: Fanit Kolchina <[email protected]> * Review comment Signed-off-by: Fanit Kolchina <[email protected]> * Revised sentence Signed-off-by: Fanit Kolchina <[email protected]> * Update _search-plugins/hybrid-search.md Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> --------- Signed-off-by: Fanit Kolchina <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: [email protected] <[email protected]>
…-project#7511) * Remove model requirement from hybrid search documentation Signed-off-by: Fanit Kolchina <[email protected]> * Review comment Signed-off-by: Fanit Kolchina <[email protected]> * Revised sentence Signed-off-by: Fanit Kolchina <[email protected]> * Update _search-plugins/hybrid-search.md Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> --------- Signed-off-by: Fanit Kolchina <[email protected]> Signed-off-by: kolchfa-aws <[email protected]> Co-authored-by: Nathan Bower <[email protected]> Signed-off-by: Sander van de Geijn <[email protected]>
Closes #7401
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.