Adding upstream version 2.5.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
c71cb8b61d
commit
982828099e
783 changed files with 150650 additions and 0 deletions
41
test/tests/employee/searches.json
Normal file
41
test/tests/employee/searches.json
Normal 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]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue