Files
upstream-bleve/test/tests/alias/searches.json
upstream-mirror f8d3d9f0cf
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
snapshot of https://github.com/blevesearch/bleve.git (master, 2026-09-15; blobs > 131072B omitted)
2026-09-15 22:27:16 +05:00

76 lines
1.1 KiB
JSON

[
{
"comment": "match all across shards",
"search": {
"from": 0,
"size": 10,
"sort": ["-_score", "_id"],
"query": {
"match_all": {}
}
},
"result": {
"total_hits": 4,
"hits": [
{
"id": "a"
},
{
"id": "b"
},
{
"id": "c"
},
{
"id": "d"
}
]
}
},
{
"comment": "search after b (page 2 when size=2)",
"search": {
"from": 0,
"size": 2,
"sort": ["name"],
"search_after": ["b"],
"query": {
"match_all": {}
}
},
"result": {
"total_hits": 4,
"hits": [
{
"id": "c"
},
{
"id": "d"
}
]
}
},
{
"comment": "search before c (page 1 when size=2)",
"search": {
"from": 0,
"size": 2,
"sort": ["name"],
"search_before": ["c"],
"query": {
"match_all": {}
}
},
"result": {
"total_hits": 4,
"hits": [
{
"id": "a"
},
{
"id": "b"
}
]
}
}
]