We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the issue Facet with boolean type for property is not managed
To Reproduce add "mappings": { "date_detection": false, "numeric_detection": false, "properties": { "$schema": { "type": "text", "index": false }, ... "is_fun": { "type": "boolean" }, ... Expected behavior ... Trace core.js:6210 ERROR Error: Parameter "key" required at TranslateService.instant (ngx-translate-core.js:990) at BucketsComponent.getBucketName (rero-ng-core.js:15893) at BucketsComponent_ul_0_li_1_Template (rero-ng-core.js:2163) at executeTemplate (core.js:9614) ...
Request url http://localhost:4200/api/testresource/?q=&page=1&size=1&facets=is_fun
Network preview {aggregations: {is_fun: {,…}},…} aggregations: {is_fun: {,…}} is_fun: {,…} buckets: [{doc_count: 47, key: 0, key_as_string: "false"}, {doc_count: 11, key: 1, key_as_string: "true"}] 0: {doc_count: 47, key: 0, key_as_string: "false"} 1: {doc_count: 11, key: 1, key_as_string: "true"} ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the issue
Facet with boolean type for property is not managed
To Reproduce
add
"mappings": {
"date_detection": false,
"numeric_detection": false,
"properties": {
"$schema": {
"type": "text",
"index": false
},
...
"is_fun": {
"type": "boolean"
},
...
Expected behavior
...
Trace
core.js:6210 ERROR Error: Parameter "key" required
at TranslateService.instant (ngx-translate-core.js:990)
at BucketsComponent.getBucketName (rero-ng-core.js:15893)
at BucketsComponent_ul_0_li_1_Template (rero-ng-core.js:2163)
at executeTemplate (core.js:9614)
...
Request url
http://localhost:4200/api/testresource/?q=&page=1&size=1&facets=is_fun
Network preview
{aggregations: {is_fun: {,…}},…}
aggregations: {is_fun: {,…}}
is_fun: {,…}
buckets: [{doc_count: 47, key: 0, key_as_string: "false"}, {doc_count: 11, key: 1, key_as_string: "true"}]
0: {doc_count: 47, key: 0, key_as_string: "false"}
1: {doc_count: 11, key: 1, key_as_string: "true"}
...
The text was updated successfully, but these errors were encountered: