Skip to content

Commit

Permalink
Fixed a missing result
Browse files Browse the repository at this point in the history
  • Loading branch information
clintongormley committed Aug 7, 2014
1 parent f021874 commit 0e79bfa
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions 080_Structured_Search/15_terms.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ GET /my_store/products/_search

<1> The `terms` filter as seen above, but placed inside the `filtered` query

The query will return the second and third documents:
The query will return the second, third, and fourth documents:

[source,json]
--------------------------------------------------
Expand All @@ -62,7 +62,15 @@ The query will return the second and third documents:
"price" : 30,
"productID" : "JODL-X-1937-#pV7"
}
}
},
{
"_id": "4",
"_score": 1.0,
"_source": {
"price": 30,
"productID": "QQPX-R-3956-#aD8"
}
}
]
--------------------------------------------------

Expand Down

0 comments on commit 0e79bfa

Please sign in to comment.