snapshot of https://github.com/blevesearch/bleve.git (master, 2026-09-15; blobs > 131072B omitted)
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
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
This commit is contained in:
44
test/tests/employee/data/emp10508560.json
Normal file
44
test/tests/employee/data/emp10508560.json
Normal 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"
|
||||
}
|
||||
1
test/tests/employee/mapping.json
Normal file
1
test/tests/employee/mapping.json
Normal file
@@ -0,0 +1 @@
|
||||
{}
|
||||
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]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user