1[ 2 { 3 "search": { 4 "from": 0, 5 "size": 10, 6 "query": { 7 "field": "body", 8 "match_phrase": "Twenty" 9 } 10 }, 11 "result": { 12 "total_hits": 1, 13 "hits": [ 14 { 15 "id": "a" 16 } 17 ] 18 } 19 }, 20 { 21 "search": { 22 "from": 0, 23 "size": 10, 24 "query": { 25 "field": "body", 26 "match_phrase": "Twenty Thousand" 27 } 28 }, 29 "result": { 30 "total_hits": 1, 31 "hits": [ 32 { 33 "id": "a" 34 } 35 ] 36 } 37 }, 38 { 39 "search": { 40 "from": 0, 41 "size": 10, 42 "query": { 43 "field": "body", 44 "match_phrase": "Twenty Thousand Leagues" 45 } 46 }, 47 "result": { 48 "total_hits": 1, 49 "hits": [ 50 { 51 "id": "a" 52 } 53 ] 54 } 55 }, 56 { 57 "search": { 58 "from": 0, 59 "size": 10, 60 "query": { 61 "field": "body", 62 "match_phrase": "Twenty Thousand Leagues Under" 63 } 64 }, 65 "result": { 66 "total_hits": 1, 67 "hits": [ 68 { 69 "id": "a" 70 } 71 ] 72 } 73 }, 74 { 75 "search": { 76 "from": 0, 77 "size": 10, 78 "query": { 79 "field": "body", 80 "match_phrase": "Twenty Thousand Leagues Under the" 81 } 82 }, 83 "result": { 84 "total_hits": 1, 85 "hits": [ 86 { 87 "id": "a" 88 } 89 ] 90 } 91 }, 92 { 93 "search": { 94 "from": 0, 95 "size": 10, 96 "query": { 97 "field": "body", 98 "match_phrase": "Twenty Thousand Leagues Under the Sea" 99 } 100 }, 101 "result": { 102 "total_hits": 1, 103 "hits": [ 104 { 105 "id": "a" 106 } 107 ] 108 } 109 }, 110 { 111 "search": { 112 "from": 0, 113 "size": 10, 114 "query": { 115 "field": "body", 116 "match_phrase": "Thousand" 117 } 118 }, 119 "result": { 120 "total_hits": 1, 121 "hits": [ 122 { 123 "id": "a" 124 } 125 ] 126 } 127 }, 128 { 129 "search": { 130 "from": 0, 131 "size": 10, 132 "query": { 133 "field": "body", 134 "match_phrase": "Thousand Leagues" 135 } 136 }, 137 "result": { 138 "total_hits": 1, 139 "hits": [ 140 { 141 "id": "a" 142 } 143 ] 144 } 145 }, 146 { 147 "search": { 148 "from": 0, 149 "size": 10, 150 "query": { 151 "field": "body", 152 "match_phrase": "Thousand Leagues Under" 153 } 154 }, 155 "result": { 156 "total_hits": 1, 157 "hits": [ 158 { 159 "id": "a" 160 } 161 ] 162 } 163 }, 164 { 165 "search": { 166 "from": 0, 167 "size": 10, 168 "query": { 169 "field": "body", 170 "match_phrase": "Thousand Leagues Under the" 171 } 172 }, 173 "result": { 174 "total_hits": 1, 175 "hits": [ 176 { 177 "id": "a" 178 } 179 ] 180 } 181 }, 182 { 183 "search": { 184 "from": 0, 185 "size": 10, 186 "query": { 187 "field": "body", 188 "match_phrase": "Thousand Leagues Under the Sea" 189 } 190 }, 191 "result": { 192 "total_hits": 1, 193 "hits": [ 194 { 195 "id": "a" 196 } 197 ] 198 } 199 }, 200 { 201 "search": { 202 "from": 0, 203 "size": 10, 204 "query": { 205 "field": "body", 206 "match_phrase": "Leagues" 207 } 208 }, 209 "result": { 210 "total_hits": 1, 211 "hits": [ 212 { 213 "id": "a" 214 } 215 ] 216 } 217 }, 218 { 219 "search": { 220 "from": 0, 221 "size": 10, 222 "query": { 223 "field": "body", 224 "match_phrase": "Leagues Under" 225 } 226 }, 227 "result": { 228 "total_hits": 1, 229 "hits": [ 230 { 231 "id": "a" 232 } 233 ] 234 } 235 }, 236 { 237 "search": { 238 "from": 0, 239 "size": 10, 240 "query": { 241 "field": "body", 242 "match_phrase": "Leagues Under the" 243 } 244 }, 245 "result": { 246 "total_hits": 1, 247 "hits": [ 248 { 249 "id": "a" 250 } 251 ] 252 } 253 }, 254 { 255 "search": { 256 "from": 0, 257 "size": 10, 258 "query": { 259 "field": "body", 260 "match_phrase": "Leagues Under the Sea" 261 } 262 }, 263 "result": { 264 "total_hits": 1, 265 "hits": [ 266 { 267 "id": "a" 268 } 269 ] 270 } 271 }, 272 { 273 "search": { 274 "from": 0, 275 "size": 10, 276 "query": { 277 "field": "body", 278 "match_phrase": "Under the Sea" 279 } 280 }, 281 "result": { 282 "total_hits": 1, 283 "hits": [ 284 { 285 "id": "a" 286 } 287 ] 288 } 289 }, 290 { 291 "search": { 292 "from": 0, 293 "size": 10, 294 "query": { 295 "field": "body", 296 "match_phrase": "the Sea" 297 } 298 }, 299 "result": { 300 "total_hits": 1, 301 "hits": [ 302 { 303 "id": "a" 304 } 305 ] 306 } 307 }, 308 { 309 "search": { 310 "from": 0, 311 "size": 10, 312 "query": { 313 "field": "body", 314 "match_phrase": "Sea" 315 } 316 }, 317 "result": { 318 "total_hits": 1, 319 "hits": [ 320 { 321 "id": "a" 322 } 323 ] 324 } 325 }, 326 { 327 "search": { 328 "from": 0, 329 "size": 10, 330 "query": { 331 "field": "body", 332 "match_phrase": "bad call" 333 } 334 }, 335 "result": { 336 "total_hits": 1, 337 "hits": [ 338 { 339 "id": "b" 340 } 341 ] 342 } 343 }, 344 { 345 "search": { 346 "from": 0, 347 "size": 10, 348 "query": { 349 "field": "body", 350 "match_phrase": "defenseless receiver" 351 } 352 }, 353 "result": { 354 "total_hits": 1, 355 "hits": [ 356 { 357 "id": "b" 358 } 359 ] 360 } 361 }, 362 { 363 "search": { 364 "from": 0, 365 "size": 10, 366 "query": { 367 "field": "body", 368 "match_phrase": "bad receiver" 369 } 370 }, 371 "result": { 372 "total_hits": 0, 373 "hits": [] 374 } 375 }, 376 { 377 "comment": "multi-phrase terms", 378 "search": { 379 "from": 0, 380 "size": 10, 381 "query": { 382 "field": "body", 383 "terms": [["twenti","thirti"],["thousand"]] 384 } 385 }, 386 "result": { 387 "total_hits": 1, 388 "hits": [ 389 { 390 "id": "a" 391 } 392 ] 393 } 394 } 395] 396