We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06b828c commit c5c89f4Copy full SHA for c5c89f4
gcloud/search/document.py
@@ -148,9 +148,10 @@ class Document(object):
148
:param index: the index to which the document belongs.
149
150
:type rank: positive integer
151
- :param rank: the default rank for ordering the document in queries: if
152
- not passed, assigned a timestamp-based value by the server.
153
- See the ``rank`` entry on the page above for details.
+ :param rank: override the server-generated rank for ordering the document
+ within in queries. If not passed, the server generates a
+ timestamp-based value. See the ``rank`` entry on the
154
+ page above for details.
155
"""
156
def __init__(self, name, index, rank=None):
157
self.name = name
0 commit comments