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
109
test/tests/fosdem/searches.json
Normal file
109
test/tests/fosdem/searches.json
Normal file
|
@ -0,0 +1,109 @@
|
|||
[
|
||||
{
|
||||
"search": {
|
||||
"from": 0,
|
||||
"size": 10,
|
||||
"sort": ["-_score", "_id"],
|
||||
"query": {
|
||||
"field": "category",
|
||||
"match_phrase": "Perl"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"total_hits": 4,
|
||||
"hits": [
|
||||
{
|
||||
"id": "3492@FOSDEM15@fosdem.org"
|
||||
},
|
||||
{
|
||||
"id": "3496@FOSDEM15@fosdem.org"
|
||||
},
|
||||
{
|
||||
"id": "3505@FOSDEM15@fosdem.org"
|
||||
},
|
||||
{
|
||||
"id": "3507@FOSDEM15@fosdem.org"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"search": {
|
||||
"from": 0,
|
||||
"size": 10,
|
||||
"sort": ["-_score", "_id"],
|
||||
"query": {
|
||||
"match": "lisp"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"total_hits": 2,
|
||||
"hits": [
|
||||
{
|
||||
"id": "3311@FOSDEM15@fosdem.org"
|
||||
},
|
||||
{
|
||||
"id": "3505@FOSDEM15@fosdem.org"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"search": {
|
||||
"from": 0,
|
||||
"size": 10,
|
||||
"sort": ["-_score", "_id"],
|
||||
"query": {"boost":1,"query":"+lisp +category:Perl"}
|
||||
},
|
||||
"result": {
|
||||
"total_hits": 1,
|
||||
"hits": [
|
||||
{
|
||||
"id": "3505@FOSDEM15@fosdem.org"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"search": {
|
||||
"from": 0,
|
||||
"size": 10,
|
||||
"sort": ["-_score", "_id"],
|
||||
"query": {"boost":1,"query":"+lisp +category:\"Perl\""}
|
||||
},
|
||||
"result": {
|
||||
"total_hits": 1,
|
||||
"hits": [
|
||||
{
|
||||
"id": "3505@FOSDEM15@fosdem.org"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"search": {
|
||||
"from": 0,
|
||||
"size": 10,
|
||||
"sort": ["-_score", "_id"],
|
||||
"query": {
|
||||
"must": {
|
||||
"conjuncts":[
|
||||
{"boost":1,"query":"+cats"},
|
||||
{"field":"category","match_phrase":"Perl"}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"total_hits": 2,
|
||||
"hits": [
|
||||
{
|
||||
"id": "3492@FOSDEM15@fosdem.org"
|
||||
},
|
||||
{
|
||||
"id": "3496@FOSDEM15@fosdem.org"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue