All Questions
Tagged with opensearch java
71 questions
0
votes
0
answers
41
views
Fortify Issues -> lucene-core vulnerable due to Memory Allocation with Excessive Size Value
lucene-core has vulnerable issue and caught in the sonatype-2025-000439. Fortify identified as High priority issue.
Is there any other ways to get rid of this issue from Fortify? Any work arounds can ...
0
votes
0
answers
21
views
How to specify "search_pipeline" with the OpenSearch Java Client?
I want to call an existing search pipeline (e.g. its name is my_pipeline) in the OpenSearch.
For this, I have to specify search_pipeline.
How to specify the search_pipeline with the OpenSearch Java ...
0
votes
1
answer
82
views
Comparing documents between two indices in OpenSearch
I have an old Java service that inserts data to Opensearch.
And a new Java service, that uses different mechanism to insert the data.
I want to make sure that I don’t have any gaps, and the new data ...
0
votes
1
answer
64
views
How to make search in opensearch more strict?
In OpenSearch, there are documents that contain the following field:
"address": {
"city": "London",
"street": "Baker street",
"...
1
vote
1
answer
704
views
Opensearch 2.17 error: NotSslRecordException: not an SSL/TLS record
We're migrating one of our projects from Elasticsearch 7.1.1 to Opensearch 2.17.0. I'm running into below error while executing the integration tests on my local machine as the test cases try to run ...
0
votes
0
answers
24
views
Are there any examples of Parent/Child queries using Spring Data Opensearch?
I am using:
Spring Data Opensearch Starter v1.5.0
Currently I have a custom configuration file in which I extend AbstractOpenSearchConfiguration and override opensearchClient() to create a ...
0
votes
0
answers
54
views
opensearch-java nested aggregations
Trying to use the opensearch-java client to perform aggregations on nested documents. We have an index of projects, and each document has a nested palette document, and we want to count all the ...
2
votes
3
answers
3k
views
How to use spring-data-opensearch-starter
I want to make use of https://github.com/opensearch-project/spring-data-opensearch to in my spring boot based app.
I tried to follow the instructions there to import and configure the client but with ...
1
vote
0
answers
140
views
Elasticsearch java rest client error: java.lang.NoClassDefFoundError
I have tried way too many Elasticsearch/Opensearch java rest client versions but running into issues with all of them.
Opensearch - 1.0.0, 1.1.0, 1.2.4
Invalid receiver type interface org.apache.http....
-1
votes
1
answer
266
views
Spring Data OpenSearch Unable to Convert Value of @Timestamp to Java Instant
Hi I have field in my opensearch index of @timestamp which looks like this JSON in the document: “@timestamp”: “2024-06-03T20:31:06.40402165Z”,. I tried to retrive the value with the following field ...
1
vote
0
answers
103
views
AWS Opensearch connectivity with io.searchbox jest in spring boot application
I am trying to connect to opensearch which is deployed on aws with EC2 instance created. I've created an IAM roles and using that to access OS.
I am trying to make a connection to opensearch which is ...
0
votes
1
answer
495
views
How to sort the composite aggregation in elasticsearch/opensearch?
I am using opensearch-java library in my spring boot application. I want to perform the composite aggregation and need to sort the final result based on one of the aggregation field in descending ...
4
votes
0
answers
268
views
How can I connect to Opensearch Serverless in java?
I want to make a simple app that connects to Opensearch Serverless collection and only print information about it to see if it connects.
SdkHttpClient httpClient = ApacheHttpClient.builder().build();
...
1
vote
1
answer
610
views
Is it possible to intercept request body send via the apache httpcomponents client5?
I am using OpenSearchClient which uses the apache https client5 internally to communicate with the opensearch server. I need to intercept the search request that is sent from the application to the ...
-1
votes
2
answers
673
views
Opensearch Springboot : When starting App getting Jackson Error
In my local I am running opensearch 2.12 using docker with security disabled.
Using springboot 3, Opensearch starter 1.3, opensearch-rest-high-level-client 2.12
When running my springboot app, I am ...