File tree 1 file changed +7
-6
lines changed 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,6 @@ declaring a ``FacetedSearch`` subclass:
34
34
values should be instances of any ``Facet `` subclass, for example: ``{'tags':
35
35
TermsFacet(field='tags')} ``
36
36
37
- ``sort ``
38
- tuple or list of fields on which the results should be sorted. The format of
39
- the individual fields are to be the same as those passed to
40
- :meth: `~elasticsearch_dsl.Search.sort `.
41
-
42
37
43
38
Facets
44
39
~~~~~~
95
90
-----
96
91
97
92
The custom subclass can be instantiated empty to provide an empty search
98
- (matching everything) or with ``query `` and ``filters ``.
93
+ (matching everything) or with ``query ``, `` filters `` and ``sort ``.
99
94
100
95
``query ``
101
96
is used to pass in the text of the query to be performed. If ``None `` is
@@ -107,6 +102,12 @@ The custom subclass can be instantiated empty to provide an empty search
107
102
the name of the facet (from ``.facets `` attribute) as the key and one of the
108
103
possible values as value. For example ``{'tags': 'python'} ``.
109
104
105
+ ``sort ``
106
+ is a tuple or list of fields on which the results should be sorted. The format
107
+ of the individual fields are to be the same as those passed to
108
+ :meth: `~elasticsearch_dsl.Search.sort `.
109
+
110
+
110
111
Response
111
112
~~~~~~~~
112
113
You can’t perform that action at this time.
0 commit comments