Skip to content

Commit ee93d10

Browse files
committed
Remove variable=None from docs
1 parent c307799 commit ee93d10

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

docs/source/ref/models/search.rst

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Optional arguments:
8484
``{"maxEdits": 1}``.
8585
- ``token_order``: Controls token sequence behavior. Accepts values like
8686
``"sequential"`` or ``"any"``.
87-
- ``score``: An optional score expression such as ``{"boost": {"value": 5}}``.
87+
- ``score``: A :class:`SearchScoreOption` to tune the relevance score.
8888

8989
``SearchExists``
9090
----------------
@@ -476,23 +476,9 @@ operators such as ``and``, ``or``, and ``not``.
476476
>>> expr2 = SearchText("body", "atlas")
477477
>>> CombinedSearchExpression(expr1, "and", expr2)
478478
CombinedSearchExpression(
479-
lhs=SearchText(
480-
path='headline',
481-
query='mongodb',
482-
fuzzy=None,
483-
match_criteria=None,
484-
synonyms=None,
485-
score=None
486-
),
479+
lhs=SearchText(path='headline', query='mongodb'),
487480
operator='and',
488-
rhs=SearchText(
489-
path='body',
490-
query='atlas',
491-
fuzzy=None,
492-
match_criteria=None,
493-
synonyms=None,
494-
score=None
495-
)
481+
rhs=SearchText(path='body', query='atlas')
496482
)
497483
498484
Args:

0 commit comments

Comments
 (0)