Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
0 replies
16 views

I am trying to implement multi-tenancy in a Spring Boot application using Spring Data Elasticsearch. My goal is: Automatically inject a tenantId filter into all Elasticsearch queries This must apply ...
kernel's user avatar
  • 912
0 votes
1 answer
56 views

Using SpringBoot data elasticsearch Need to print the Elasticsearch JSON representation of the query Creating a org.springframework.data.elasticsearch.core.query.CriteriaQuery that is passed to org....
gary's user avatar
  • 508
1 vote
1 answer
48 views

I have a SpringBoot application in which I query an Elasticsearch cluster using an Elasticsearch repository. This is working fine at first. I have the following method in my repository, among others: ...
Thomas Mueller's user avatar
0 votes
0 answers
54 views

I faced a problem connected with Elasticsearch while implementing full text search. When I try to find documents in index I face this problem 2025-08-27T09:15:59.544+03:00 ERROR 19622 --- [Muse] [nio-...
Usernamedrew's user avatar
0 votes
0 answers
42 views

I have a Spring Boot 3.3.x application that uses Spring Data Elasticsearch to query a single Elasticsearch index. The query is built dynamically using the Criteria API. Now, I need to add a new ...
never's user avatar
  • 681
0 votes
1 answer
67 views

This is a followup question to (Is there a way to have field level audit in elastic search?) Step 1: #push a sample doc PUT my_index/_doc/1 { "created_at": "2025-02-24T13:00:00Z",...
Spartacus's user avatar
  • 454
0 votes
1 answer
84 views

How should I implement script sort in spring-data-elasticsearch 5.3.x NativeQueryBuilder nativeQueryBuilder= new NativeQueryBuilder(); nativeQueryBuilder.withQuery(query); nativeQueryBuilder.withSort(...
Guoqing Lee's user avatar
0 votes
1 answer
91 views

I have an index with say 10 fields. These fields may get modified from time to time. Is there a way to add any field level timestamp, which can store the timestamp when it was last updated and also ...
Spartacus's user avatar
  • 454
0 votes
1 answer
76 views

Custom @ReadingConverter isn't being triggered but when I was initially implementing this code it worked normally. Configuration class: @Configuration public class ElasticsearchConfig { @Bean ...
solujic's user avatar
  • 1,055
0 votes
1 answer
50 views

I'm using Elasticsearch filters and I would like to apply a must condition for selected regions (e.g., Occitanie and Île-de-France). Additionally, I want to ensure that profiles with the region "...
Raouf Zouaoui's user avatar
0 votes
0 answers
29 views

The following code will throw an exception: [es/search] failed: [parsing_exception] unknown query [query]. @Query(value = """ { "query": { "script_score": {...
lambda's user avatar
  • 1
-1 votes
1 answer
119 views

Now, RestHighLevelClient is deprecated. So i want rewrite code with ElasticSearch Java Api Client in my spring project. Most of the functions are being modified properly, but I have not found an ...
Redwings's user avatar
  • 556
0 votes
0 answers
29 views

When I use the following query using CURL I successfully get highlights: { "query": { "query_string": { "query": "Angular" } }, "...
0xJanAbe's user avatar
0 votes
0 answers
76 views

I want to use the following elastic search query in Java to search through all my documents in my index. { "query": { "query_string": { "query": "my ...
0xJanAbe's user avatar
1 vote
4 answers
809 views

I am upgrading the elasticsearch version from 8.14.3 to 8.15.3 and there are some issues with this query- return new RangeQuery.Builder() .field(fieldName) .gte(JsonData.of(dateToday)) .build() ....
Karin's user avatar
  • 17

15 30 50 per page
1
2 3 4 5
102