Album + slow service + other
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
POST http://localhost:9200/itunessongs/_search
|
||||
POST http://localhost:9200/itunessongs/album/_search
|
||||
content-type: application/json
|
||||
User-Agent: vscode-restclient
|
||||
|
||||
@@ -6,7 +6,7 @@ User-Agent: vscode-restclient
|
||||
"query": {
|
||||
"match" : {
|
||||
"Album" : {
|
||||
"query": "Our Love To Admire",
|
||||
"query": "Crystal Castles",
|
||||
"operator" : "and"
|
||||
}
|
||||
}
|
||||
@@ -14,20 +14,20 @@ User-Agent: vscode-restclient
|
||||
"size": 20
|
||||
}
|
||||
|
||||
POST http://localhost:9200/itunessongs/_search
|
||||
POST http://localhost:9200/itunessongs/song/_search
|
||||
content-type: application/json
|
||||
User-Agent: vscode-restclient
|
||||
|
||||
{
|
||||
"query": {
|
||||
"match_phrase" : {
|
||||
"Album" : "Our Love"
|
||||
"Album" : "Crystal Castles"
|
||||
}
|
||||
},
|
||||
"size": 20
|
||||
}
|
||||
|
||||
POST http://localhost:9200/itunessongs/_search
|
||||
POST http://localhost:9200/itunessongs/song/_search
|
||||
content-type: application/json
|
||||
User-Agent: vscode-restclient
|
||||
|
||||
@@ -35,8 +35,27 @@ User-Agent: vscode-restclient
|
||||
"query": {
|
||||
"bool": {
|
||||
"must": [
|
||||
{"match_phrase" : { "Album" : "Our Love" }},
|
||||
{"match_phrase" : { "Artist" : "Caribou." }}
|
||||
{"match_phrase" : { "Album" : "Crystal Castles" }},
|
||||
{"match_phrase" : { "Artist" : "Crystal Castles" }}
|
||||
]
|
||||
}
|
||||
},
|
||||
"size": 20
|
||||
}
|
||||
|
||||
POST http://localhost:9200/itunessongs/song/_search
|
||||
content-type: application/json
|
||||
User-Agent: vscode-restclient
|
||||
|
||||
{
|
||||
"query": {
|
||||
"bool": {
|
||||
"must": {
|
||||
"match_phrase" : { "Album" : "Crystal Castles" }
|
||||
},
|
||||
"should" : [
|
||||
{"match_phrase" : { "Artist" : "Crystal Castles" }},
|
||||
{"match_phrase" : { "Album Artist" : "Crystal Castles" }}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user