search bug fixes and documentation updates (#3256)

* bug fixes for search

* test fixes

* bug fixes for search
This commit is contained in:
Denys Vuika
2018-05-03 10:28:20 +01:00
committed by Eugenio Romano
parent a9ab0af640
commit 856c4fd7f5
19 changed files with 423 additions and 78 deletions

View File

@@ -539,13 +539,32 @@
}
},
"facetQueries": {
"type": "array",
"items": {
"type": "object",
"required": [ "query", "label" ],
"properties": {
"query": { "type": "string" },
"label": { "type": "string" }
"type": "object",
"required": ["label", "queries"],
"properties": {
"label": {
"description": "Category label text",
"type": "string"
},
"pageSize": {
"description": "Default page size of the category",
"type": "number"
},
"expanded": {
"description": "Toggles expanded state of the category",
"type": "boolean"
},
"queries": {
"description": "List of custom facet queries",
"type": "array",
"items": {
"type": "object",
"required": [ "query", "label" ],
"properties": {
"query": { "type": "string" },
"label": { "type": "string" }
}
}
}
}
},