Skip to content

Commit

Permalink
fixed indent in release highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
l-trotta committed Aug 9, 2024
1 parent f8ab40c commit bf86580
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/release-notes/release-highlights.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For a list of detailed changes, including bug fixes, please see the https://gith

** Old RangeQuery:
+
[source,java,indent=2]
[source,java]
----
RangeQuery ra = RangeQuery.of(r -> r // no distinction between various types (date, term, number)
.field("day")
Expand All @@ -35,13 +35,13 @@ RangeQuery ra = RangeQuery.of(r -> r // no distinction between various types (d
[source,java]
----
RangeQuery ra = RangeQuery.of(r -> r
.date(d -> d // choose query type before
.field("day")
.gte("20-06-24") // field now only accepts valid type for the specified query
.lte("20-07-24")
.boost(1.0F)
.format("yyyy-MM-dd")
.relation(RangeRelation.Contains)));
.date(d -> d // choose query type before
.field("day")
.gte("20-06-24") // field now only accepts valid type for the specified query
.lte("20-07-24")
.boost(1.0F)
.format("yyyy-MM-dd")
.relation(RangeRelation.Contains)));
----

[discrete]
Expand Down

0 comments on commit bf86580

Please sign in to comment.