Skip to content

Commit bf86580

Browse files
committed
fixed indent in release highlights
1 parent f8ab40c commit bf86580

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/release-notes/release-highlights.asciidoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ For a list of detailed changes, including bug fixes, please see the https://gith
1919

2020
** Old RangeQuery:
2121
+
22-
[source,java,indent=2]
22+
[source,java]
2323
----
2424
RangeQuery ra = RangeQuery.of(r -> r // no distinction between various types (date, term, number)
2525
.field("day")
@@ -35,13 +35,13 @@ RangeQuery ra = RangeQuery.of(r -> r // no distinction between various types (d
3535
[source,java]
3636
----
3737
RangeQuery ra = RangeQuery.of(r -> r
38-
.date(d -> d // choose query type before
39-
.field("day")
40-
.gte("20-06-24") // field now only accepts valid type for the specified query
41-
.lte("20-07-24")
42-
.boost(1.0F)
43-
.format("yyyy-MM-dd")
44-
.relation(RangeRelation.Contains)));
38+
.date(d -> d // choose query type before
39+
.field("day")
40+
.gte("20-06-24") // field now only accepts valid type for the specified query
41+
.lte("20-07-24")
42+
.boost(1.0F)
43+
.format("yyyy-MM-dd")
44+
.relation(RangeRelation.Contains)));
4545
----
4646

4747
[discrete]

0 commit comments

Comments
 (0)