Skip to content

Commit b7f653c

Browse files
committed
Merge hybrid search op into index.query method; simplify parameters
1 parent ca256e8 commit b7f653c

File tree

5 files changed

+183
-184
lines changed

5 files changed

+183
-184
lines changed

docs/api/query.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ HybridQuery
171171
Using query-time stopwords with index-level ``STOPWORDS 0`` is counterproductive.
172172

173173
.. note::
174-
:class:`HybridQuery` and :class:`AggregateHybridQuery` apply linear combination inconsistently. :class:`HybridQuery` uses ``linear_alpha`` to weight the text score and ``linear_beta`` to weight the vector score. :class:`AggregateHybridQuery` uses ``alpha`` to weight the vector score and ``beta`` to weight the text score.
174+
:class:`HybridQuery` and :class:`AggregateHybridQuery` apply linear combination inconsistently. :class:`HybridQuery` uses ``linear_alpha`` to weight the text score, while :class:`AggregateHybridQuery` uses ``alpha`` to weight the vector score. When switching between the two classes, take care to revise your ``alpha`` setting.
175175

176176
TextQuery
177177
================

0 commit comments

Comments
 (0)