1
0
Fork 0
golang-github-blevesearch-b.../test/tests/employee/searches.json
Daniel Baumann 982828099e
Adding upstream version 2.5.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-19 00:20:02 +02:00

41 lines
No EOL
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]
}
]
}
}
}
]
}
}
]