snapshot of https://github.com/blevesearch/bleve.git (master, 2026-09-15; blobs > 131072B omitted)
Some checks failed
Coverage / coverage (push) Failing after 6s
Tests / test (1.24.x, ubuntu-latest) (push) Failing after 42s
Tests / test (1.26.x, ubuntu-latest) (push) Failing after 38s
Tests / test (1.25.x, ubuntu-latest) (push) Failing after 35s
Tests / test (1.25.x, windows-latest) (push) Has been cancelled
Tests / test (1.26.x, macos-latest) (push) Has been cancelled
Tests / test (1.26.x, windows-latest) (push) Has been cancelled
Tests / test (1.24.x, macos-latest) (push) Has been cancelled
Tests / test (1.24.x, windows-latest) (push) Has been cancelled
Tests / test (1.25.x, macos-latest) (push) Has been cancelled
Some checks failed
Coverage / coverage (push) Failing after 6s
Tests / test (1.24.x, ubuntu-latest) (push) Failing after 42s
Tests / test (1.26.x, ubuntu-latest) (push) Failing after 38s
Tests / test (1.25.x, ubuntu-latest) (push) Failing after 35s
Tests / test (1.25.x, windows-latest) (push) Has been cancelled
Tests / test (1.26.x, macos-latest) (push) Has been cancelled
Tests / test (1.26.x, windows-latest) (push) Has been cancelled
Tests / test (1.24.x, macos-latest) (push) Has been cancelled
Tests / test (1.24.x, windows-latest) (push) Has been cancelled
Tests / test (1.25.x, macos-latest) (push) Has been cancelled
This commit is contained in:
6
test/tests/facet/data/a.json
Normal file
6
test/tests/facet/data/a.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"category": "inventory",
|
||||
"type": "book",
|
||||
"rating": 2,
|
||||
"updated": "2014-11-25"
|
||||
}
|
||||
6
test/tests/facet/data/b.json
Normal file
6
test/tests/facet/data/b.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"category": "inventory",
|
||||
"type": "book",
|
||||
"rating": 7,
|
||||
"updated": "2013-07-25"
|
||||
}
|
||||
6
test/tests/facet/data/c.json
Normal file
6
test/tests/facet/data/c.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"category": "inventory",
|
||||
"type": "book",
|
||||
"rating": 1,
|
||||
"updated": "2014-03-03"
|
||||
}
|
||||
6
test/tests/facet/data/d.json
Normal file
6
test/tests/facet/data/d.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"category": "inventory",
|
||||
"type": "book",
|
||||
"rating": 9,
|
||||
"updated": "2014-09-16"
|
||||
}
|
||||
6
test/tests/facet/data/e.json
Normal file
6
test/tests/facet/data/e.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"category": "inventory",
|
||||
"type": "book",
|
||||
"rating": 5,
|
||||
"updated": "2014-11-15"
|
||||
}
|
||||
6
test/tests/facet/data/f.json
Normal file
6
test/tests/facet/data/f.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"category": "inventory",
|
||||
"type": "movie",
|
||||
"rating": 3,
|
||||
"updated": "2017-06-05"
|
||||
}
|
||||
6
test/tests/facet/data/g.json
Normal file
6
test/tests/facet/data/g.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"category": "inventory",
|
||||
"type": "movie",
|
||||
"rating": 9,
|
||||
"updated": "2011-10-03"
|
||||
}
|
||||
6
test/tests/facet/data/h.json
Normal file
6
test/tests/facet/data/h.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"category": "inventory",
|
||||
"type": "movie",
|
||||
"rating": 9,
|
||||
"updated": "2019-08-26"
|
||||
}
|
||||
6
test/tests/facet/data/i.json
Normal file
6
test/tests/facet/data/i.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"category": "inventory",
|
||||
"type": "movie",
|
||||
"rating": 1,
|
||||
"updated": "2014-12-14"
|
||||
}
|
||||
6
test/tests/facet/data/j.json
Normal file
6
test/tests/facet/data/j.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"category": "inventory",
|
||||
"type": "game",
|
||||
"rating": 9,
|
||||
"updated": "2013-10-20"
|
||||
}
|
||||
1
test/tests/facet/mapping.json
Normal file
1
test/tests/facet/mapping.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
144
test/tests/facet/searches.json
Normal file
144
test/tests/facet/searches.json
Normal file
@@ -0,0 +1,144 @@
|
||||
[
|
||||
{
|
||||
"search": {
|
||||
"from": 0,
|
||||
"size": 0,
|
||||
"query": {
|
||||
"field": "category",
|
||||
"term": "inventory"
|
||||
},
|
||||
"facets": {
|
||||
"types": {
|
||||
"size": 3,
|
||||
"field": "type"
|
||||
}
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"total_hits": 10,
|
||||
"hits": [],
|
||||
"facets": {
|
||||
"types": {
|
||||
"field": "type",
|
||||
"total": 10,
|
||||
"missing": 0,
|
||||
"other": 0,
|
||||
"terms": [
|
||||
{
|
||||
"term": "book",
|
||||
"count": 5
|
||||
},
|
||||
{
|
||||
"term": "movie",
|
||||
"count": 4
|
||||
},
|
||||
{
|
||||
"term": "game",
|
||||
"count": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"search": {
|
||||
"from": 0,
|
||||
"size": 0,
|
||||
"query": {
|
||||
"field": "category",
|
||||
"term": "inventory"
|
||||
},
|
||||
"facets": {
|
||||
"types": {
|
||||
"size": 3,
|
||||
"field": "rating",
|
||||
"numeric_ranges": [
|
||||
{
|
||||
"name": "low",
|
||||
"max": 5
|
||||
},
|
||||
{
|
||||
"name": "high",
|
||||
"min": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"total_hits": 10,
|
||||
"hits": [],
|
||||
"facets": {
|
||||
"types": {
|
||||
"field": "rating",
|
||||
"total": 10,
|
||||
"missing": 0,
|
||||
"other": 0,
|
||||
"numeric_ranges": [
|
||||
{
|
||||
"name": "high",
|
||||
"count": 6,
|
||||
"min": 5
|
||||
},
|
||||
{
|
||||
"name": "low",
|
||||
"count": 4,
|
||||
"max": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"search": {
|
||||
"from": 0,
|
||||
"size": 0,
|
||||
"query": {
|
||||
"field": "category",
|
||||
"term": "inventory"
|
||||
},
|
||||
"facets": {
|
||||
"types": {
|
||||
"size": 3,
|
||||
"field": "updated",
|
||||
"date_ranges": [
|
||||
{
|
||||
"name": "old",
|
||||
"end": "2012-01-01"
|
||||
},
|
||||
{
|
||||
"name": "new",
|
||||
"start": "2012-01-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"total_hits": 10,
|
||||
"hits": [],
|
||||
"facets": {
|
||||
"types": {
|
||||
"field": "updated",
|
||||
"total": 10,
|
||||
"missing": 0,
|
||||
"other": 0,
|
||||
"date_ranges": [
|
||||
{
|
||||
"name": "new",
|
||||
"count": 9,
|
||||
"start": "2012-01-01T00:00:00Z"
|
||||
},
|
||||
{
|
||||
"name": "old",
|
||||
"count": 1,
|
||||
"end": "2012-01-01T00:00:00Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user