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
41 lines
650 B
JSON
41 lines
650 B
JSON
[
|
|
{
|
|
"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]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |