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,44 @@
{
"salary": 104561.8,
"_type": "emp",
"name": "Deirdre Reed",
"mutated": 0,
"is_manager": true,
"dept": "Accounts",
"join_date": "2003-05-28T21:29:00",
"manages": {
"team_size": 9,
"reports": [
"Gallia Julián",
"Duvessa Nicolás",
"Beryl Thomas",
"Deirdre Julián",
"Antonia Gerónimo",
"Ciara Young",
"Riona Richardson IX",
"Severin Jr.",
"Perdita Morgan"
]
},
"languages_known": [
"English",
"Spanish",
"German",
"Italian",
"French",
"Arabic",
"Africans",
"Hindi",
"Vietnamese",
"Urdu",
"Dutch",
"Quechua",
"Japanese",
"Chinese",
"Nepalese",
"Thai",
"Malay"
],
"emp_id": "10508560",
"email": "deirdre@mcdiabetes.com"
}

View file

@ -0,0 +1 @@
{}

View file

@ -0,0 +1,41 @@
[
{
"comment": "test array position output",
"search": {
"from": 0,
"size": 10,
"sort": ["-_score", "_id"],
"query": {
"field": "manages.reports",
"term": "julián"
},
"includeLocations": true
},
"result": {
"total_hits": 1,
"hits": [
{
"id": "emp10508560",
"locations": {
"manages.reports": {
"julián": [
{
"pos": 2,
"start": 7,
"end": 14,
"array_positions":[0]
},
{
"pos": 2,
"start": 8,
"end": 15,
"array_positions":[3]
}
]
}
}
}
]
}
}
]