Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Commit 8e69f96

Browse files
committed
Edited 080_Structured_Search/25_ranges.asciidoc with Atlas code editor
1 parent c206183 commit 8e69f96

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

080_Structured_Search/25_ranges.asciidoc

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ When dealing with numbers in this chapter, we have so far searched for only
44
exact numbers. ((("structured search", "ranges"))) In practice, filtering on ranges is often more useful. For
55
example, you might want to find all products with a price greater than $20 and less than $40.
66

7-
In SQL terms, a range can be expressed as:
7+
In SQL terms, a range can be expressed as follows:
88

99
[source,sql]
1010
--------------------------------------------------
@@ -13,7 +13,7 @@ FROM products
1313
WHERE price BETWEEN 20 AND 40
1414
--------------------------------------------------
1515

16-
Elasticsearch has a range filter, ((("range filters", "using on numbers")))which, unsurprisingly, allows you to
16+
Elasticsearch has a `range` filter, ((("range filters", "using on numbers")))which, unsurprisingly, allows you to
1717
filter ranges:
1818

1919
[source,js]
@@ -26,17 +26,17 @@ filter ranges:
2626
}
2727
--------------------------------------------------
2828

29-
The range filter supports both inclusive and exclusive ranges, through
29+
The `range` filter supports both inclusive and exclusive ranges, through
3030
combinations of the following options:
3131

3232
[horizontal]
33-
gt:: `>` greater than
34-
lt:: `<` less than
35-
gte:: `>=` greater than or equal to
36-
lte:: `<=` less than or equal to
33+
* `gt`: `>` greater than
34+
* `lt`: `<` less than
35+
* `gte`: `>=` greater than or equal to
36+
* `lte`: `<=` less than or equal to
3737
3838
39-
.Example range filter
39+
.Here is an example range filter:
4040
[source,js]
4141
--------------------------------------------------
4242
GET /my_store/products/_search

0 commit comments

Comments
 (0)