Skip to content

Commit

Permalink
Merge pull request #3342 from vespa-engine/kkraune-patch-2
Browse files Browse the repository at this point in the history
avoid repetition
  • Loading branch information
jobergum authored Aug 28, 2024
2 parents 87e97c3 + f6e65f4 commit 6a7a71d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en/tutorials/hybrid-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ The `relevance` is the score assigned by `hybrid` rank-profile. Notice that the
useful for debugging and understanding the ranking behavior, also for feature logging.

#### Hybrid query with AND operator
The following combines the two top-k operators using AND, meaning that the retrieved documents must match both the sparse and dense top-k operators.
The following combines the two top-k operators using AND, meaning that the retrieved documents must match both the sparse and dense top-k operators:

<div class="pre-parent">
<button class="d-icon d-duplicate pre-copy-button" onclick="copyPreContent(this)"></button>
Expand All @@ -865,7 +865,7 @@ $ vespa query \
'ranking=hybrid'
</pre>
</div>
This means that the retrieved documents must match both the sparse and dense representations. For the sparse keyword query matching, the `weakAnd` operator is used by default
For the sparse keyword query matching, the `weakAnd` operator is used by default
and it requires that at least one term in the query matches the document (fieldset searched).

#### Hybrid query with rank query operator
Expand Down

0 comments on commit 6a7a71d

Please sign in to comment.