Skip to content

Commit d869ed0

Browse files
committed
Fix docs lines
1 parent ed741f5 commit d869ed0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/source/ref/models/search.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ to perform exact matches on fields indexed in a MongoDB Atlas Search index.
4444
4545
>>> from django_mongodb_backend.expressions import SearchEquals
4646
>>> Article.objects.annotate(score=SearchEquals(path="headline", value="title"))
47-
<QuerySet [<Article: Article object (6882f074359a4b191381b2e4)>]>
47+
<QuerySet [<Article: headline: title>]>
4848
4949
The ``path`` argument can be either the name of a field (as a string), or a
5050
:class:`~django.db.models.F` instance. The ``value`` argument
@@ -389,7 +389,7 @@ The ``path`` argument specifies the field to filter and can be a string or a
389389
Required arguments:
390390

391391
- ``relation``: The spatial relation to test. Valid values include
392-
``"within"``, ``"intersects"``, and ``"disjoint"``.
392+
``"within"``, ``"intersects"``, and ``"disjoint"``.
393393
- ``geometry``: A GeoJSON geometry object to compare against.
394394

395395
Optional:
@@ -436,7 +436,7 @@ Optional:
436436
- ``score``: An optional expression to adjust the relevance score.
437437

438438
``SearchGeoWithin`` expressions can be reused and combined with other search
439-
expressions.
439+
expressions.
440440

441441
See also: :ref:`search-operations-combinable`.
442442

@@ -506,15 +506,15 @@ Arguments:
506506
- ``must``: A list of expressions that **must** match.
507507
- ``must_not``: A list of expressions that **must not** match.
508508
- ``should``: A list of optional expressions that **should** match.
509-
These can improve scoring.
509+
These can improve scoring.
510510
- ``filter``: A list of expressions used for filtering without affecting
511-
relevance scoring.
511+
relevance scoring.
512512
- ``minimum_should_match``: The minimum number of ``should`` clauses that
513-
must match.
513+
must match.
514514
- ``score``: An optional expression to adjust the final score.
515515

516516
``CompoundExpression`` is useful for building advanced and flexible query
517-
logic in Atlas Search.
517+
logic in Atlas Search.
518518

519519
See also: :ref:`search-operations-combinable`.
520520

0 commit comments

Comments
 (0)