Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump org.apache.pdfbox:pdfbox from 3.0.2 to 3.0.3 #813

Merged
merged 2 commits into from
Aug 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading