Skip to content

Commit

Permalink
rewrite a few sentences
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Jain <[email protected]>
  • Loading branch information
vibrantvarun committed Jan 28, 2025
1 parent be49c71 commit fc1ba04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _search-plugins/hybrid-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -1232,9 +1232,9 @@ The change in `pagination_depth` impacts the ground truth on which the user is p

The standard hybrid search without pagination uses `from + size` formula (where `from` is always equals to `0`) to retrieve search results from each shard per subquery.{: .note}

To enable deeper pagination, a higher value of `pagination_depth` should be provided. By using the `from` and `size` parameters, user can navigate to higher pages. However, deeper pagination comes at the cost of search performance getting a toll, as retrieving more results requires higher computation.
To enable deeper pagination, use a higher value of `pagination_depth`. You can then navigate through the results using the `from` and `size` parameters. However, be aware that deeper pagination can impact search performance, as retrieving and processing more results requires additional computational resources.

Below is the example of search request with `from = 0` , `size = 5` and `pagination_depth = 10`. From each shard at max 10 search results can be catered for bool and term query respectively.
The following example shows a search request with `from: 0`, `size: 5`, and `pagination_depth: 10`. This configuration allows up to 10 search results per shard for both the bool and term queries:

Check failure on line 1237 in _search-plugins/hybrid-search.md

View workflow job for this annotation

GitHub Actions / style-job

[vale] reported by reviewdog 🐶 [OpenSearch.Spelling] Error: bool. If you are referencing a setting, variable, format, function, or repository, surround it with tic marks. Raw Output: {"message": "[OpenSearch.Spelling] Error: bool. If you are referencing a setting, variable, format, function, or repository, surround it with tic marks.", "location": {"path": "_search-plugins/hybrid-search.md", "range": {"start": {"line": 1237, "column": 174}}}, "severity": "ERROR"}
```json
GET /my-nlp-index/_search?search_pipeline=nlp-search-pipeline
{
Expand Down

0 comments on commit fc1ba04

Please sign in to comment.