Skip to content

Commit

Permalink
Bump org.apache.pdfbox:pdfbox from 3.0.2 to 3.0.3 (#813)
Browse files Browse the repository at this point in the history
* Bump org.apache.pdfbox:pdfbox from 3.0.2 to 3.0.3

Bumps org.apache.pdfbox:pdfbox from 3.0.2 to 3.0.3.

---
updated-dependencies:
- dependency-name: org.apache.pdfbox:pdfbox
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fixing previous Elasticsearch upgrade

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Francesco Chicchiriccò <ilgrosso@apache.org>
  • Loading branch information
dependabot[bot] and ilgrosso committed Aug 10, 2024
1 parent 5f91451 commit 8f28a9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import co.elastic.clients.elasticsearch.core.CountRequest;
import co.elastic.clients.elasticsearch.core.SearchRequest;
import co.elastic.clients.elasticsearch.core.search.Hit;
import co.elastic.clients.json.JsonData;
import com.fasterxml.jackson.databind.node.ObjectNode;
import java.io.IOException;
import java.time.OffsetDateTime;
Expand Down Expand Up @@ -110,16 +111,16 @@ protected Query getQuery(
build());

if (before != null) {
queries.add(new Query.Builder().range(RangeQuery.of(r -> r.number(n -> n.
queries.add(new Query.Builder().range(RangeQuery.of(r -> r.untyped(n -> n.
field("when").
lte((Double.valueOf(before.toInstant().toEpochMilli())))))).
lte(JsonData.of(before.toInstant().toEpochMilli()))))).
build());
}

if (after != null) {
queries.add(new Query.Builder().range(RangeQuery.of(r -> r.number(n -> n.
queries.add(new Query.Builder().range(RangeQuery.of(r -> r.untyped(n -> n.
field("when").
gte((Double.valueOf(after.toInstant().toEpochMilli())))))).
gte(JsonData.of(after.toInstant().toEpochMilli()))))).
build());
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ under the License.
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>3.0.2</version>
<version>3.0.3</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
Expand Down

0 comments on commit 8f28a9e

Please sign in to comment.