From bf86580a8df8ca943378cebfffd3d1489d8ed063 Mon Sep 17 00:00:00 2001 From: Laura Trotta Date: Fri, 9 Aug 2024 16:38:59 +0200 Subject: [PATCH] fixed indent in release highlights --- docs/release-notes/release-highlights.asciidoc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/release-notes/release-highlights.asciidoc b/docs/release-notes/release-highlights.asciidoc index 1010aacb1..f76a6c1c8 100644 --- a/docs/release-notes/release-highlights.asciidoc +++ b/docs/release-notes/release-highlights.asciidoc @@ -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") @@ -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]