Skip to content
New issue

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

facets as an array more flexible when re-configuring #1

Open
wants to merge 1 commit into
base: improve-aggs-proposal
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
247 changes: 0 additions & 247 deletions proposals/aggregations/README.md

This file was deleted.

17 changes: 8 additions & 9 deletions proposals/facets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ computed.
```json
{
"type": "FeatureCollection",
"facets": {
"keywords": {
"facets": [
{
"type": "terms",
"property": "keyword",
"key": "keyword",
"buckets": [
{
"value": "Greece",
Expand All @@ -173,11 +173,10 @@ computed.
"count": "150"
}
],
"more": 0
},
"createDate": {
"next": 0
},{
"type": "histogram",
"property": "createDate",
"key": "createDate",
"buckets": [
{
"min": "2010-01-01",
Expand All @@ -190,9 +189,9 @@ computed.
"count": 220
}
],
"more": 12
"next": 12
}
},
],
"features": [],
"numberMatched": 375,
"numberReturned": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Facet:
required:
- key
properties:
type:
type: string
enum:
- histogram
- terms
- filters
key:
type: string
description: Name of the property
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
type: object
type: array
description: Facets overview
items:
$ref: "./facetResult.yaml"