1
0
Fork 0

Adding upstream version 2.5.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-19 00:20:02 +02:00
parent c71cb8b61d
commit 982828099e
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
783 changed files with 150650 additions and 0 deletions

View file

@ -0,0 +1,3 @@
{
"name": "a"
}

View file

@ -0,0 +1,3 @@
{
"name": "c"
}

View file

@ -0,0 +1,3 @@
{
"name": "b"
}

View file

@ -0,0 +1,3 @@
{
"name": "d"
}

View file

@ -0,0 +1,3 @@
{
"default_analyzer": "keyword"
}

View file

@ -0,0 +1,76 @@
[
{
"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"
}
]
}
}
]