Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.1.0
-
None
-
1
Description
Here is definition of `searchQuery` method
As you see id accept facets and sort. it is wrong typings because facets accept something like this:
```
facets: {
"countryFacet":
,
"cityFacet":
{ field: "city", size: 10 },
....
}
```
Also, the `sort` field accepts an array of objects, but as we see according to typings it is just one object
Attachments
For Gerrit Dashboard: JSCBC-825 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
153053,3 | JSCBC-825: Fixed definition of search facets in queries. | master | couchnode | Status: MERGED | -1 | +1 |