spring-data-elasticsearch Questions
2
Solved
I'm using Spring Data Elasticsearch 4.2.5, we have a job that does ETL (extract, transform and load data) to a particular database table. I'm indexing this data using Elasticsearch while the job is...
Inappropriate asked 28/9, 2021 at 13:42
6
I have the java configuration for the Spring Data Elaticsearch(using Transport Client) and ESTemplate.
Here some except:
@Configuration
@EnableElasticsearchRepositories(basePackages = "subpack...
Vast asked 30/8, 2020 at 14:15
5
Solved
it seems that SpringData ES don't provide classes to fetch highlights returned by ES. Spring Data can return Lists of Objects but the highlights sections in the Json returned by ES is in a separate...
Vellicate asked 5/5, 2016 at 11:45
3
I am using spring-data-elasticsearch for my application. I found spring automatically creates dynamic field "_class" in all my documents. I configured my index as a strict dynmaic mapping...
Istle asked 12/3, 2021 at 13:53
1
I am using Spring-data-elasticsearch and there ElasticsearchTemplate functions.
I try to create an index by using the @CompletionField annotation on a Completion field named suggest.
@Document(i...
Exegete asked 27/2, 2018 at 12:46
2
What is the equivalent of org.springframework.data.elasticsearch.core.query.NativeSearchQuery for support beyond 5.0.
Migrated the following snippet from
NativeSearchQuery query = new NativeSearch...
Gadolinite asked 10/4, 2023 at 11:0
2
Solved
I'm new to Spring Data elasticsearch. I'm working on a project in which I'm indexing bugs faced in different projects (just for example).
I want to fetch all projects, with the number of bugs in ea...
Laxity asked 18/5, 2023 at 12:47
4
Solved
Is it possible to specify dynamically (at runtime) the indexName for each @Document, for example, via a configuration file? Or is it possible to make @Document Spring environment (dev, prod) depend...
Scientific asked 11/10, 2015 at 20:15
6
Solved
I am using the ReactiveElasticsearchClient from spring-data-elasticsearch 3.2.3 with spring-boot 2.2.0. When upgrading to spring-boot 2.2.2 i have got org.springframework.core.io.buffer.DataBufferL...
Barnum asked 13/12, 2019 at 16:23
7
Solved
I am trying to use elastic search for full text search and Spring data for integrating elastic search with my application.
For example,
There are 6 fields to be indexed.
1)firstName
2)lastName
...
Glume asked 5/4, 2015 at 19:22
2
I've implemented the Specification pattern for filtering some of my JpaRepositories. After I have implemented a Specification, I can use it with a JpaRepository like this:
Page<Entity> page =...
Tussock asked 2/12, 2015 at 20:7
8
Solved
I use spring-data-elasticsearch framework to get query result from elasticsearch server, the java code like this:
SearchQuery searchQuery = new NativeSearchQueryBuilder()
.withQuery(matchAllQuery(...
Vidda asked 7/6, 2015 at 9:16
0
I am new to spring data elasticsearch. I want to be able to return data aggregations (simply, the count of values that are 'true' for a field) from elasticsearch to the front-end.
Here is my elasti...
Clipfed asked 2/6, 2022 at 14:47
6
Solved
Consider the following elasticsearch query :
{
"query": {"match_all": {}},
"size": 0,
"aggs": {
"Terms": { "terms": { "field":"fileName" }
}
}
}
Here I'm just interested in the aggregatio...
Takeoff asked 13/5, 2016 at 10:32
7
I am using Spring boot 2 with Spring Data, Spring-Data-Elastisearch and Spring-data-Redis(for http sessions).
When i start the app. I'm receiving
2017-10-29 17:38:33.376 INFO 18625 --- [ restarte...
Davin asked 29/10, 2017 at 15:43
1
How to prevent running AfterSaveCallback on save on certain conditions (say AfterSaveCallback<Foo>). We would like to avoid triggering AfterSaveCallback even when its present and registered. ...
Indiscreet asked 21/7, 2021 at 4:28
5
Solved
RestHighLevelClient is used to connect to ES 6.4(hosted on AWS) in a spring-boot app. When the app goes idle for some time, and request arrives, then the RestHighLevelClient throws SocketTimeoutExc...
Pellikka asked 29/6, 2019 at 7:48
2
Across the web, I can see that spring-data-elasticsearch has some configuration properties that you can define in your application.properties, such as:
spring.data.elasticsearch.repositories.enable...
Levelheaded asked 10/4, 2021 at 2:8
3
Solved
I have an application with the following Spring dependencies:
starterBase : 'org.springframework.boot:spring-boot-starter:2.2.1.RELEASE',
starterActuator: 'org.springframework.boot:spring-boot-sta...
Perdomo asked 31/1, 2020 at 9:21
3
Solved
I use Spring Boot Starter Data Elasticsearch 2.2.3.RELEASE with Elasticsearch v6.8.6. I configured the RestHighLevelClient for the connection to the cluster.
Now I constantly get a SocketTimeoutEx...
Actinomycin asked 30/1, 2020 at 17:19
1
Solved
I have this database data as below (ES 7.xx) version
{
"id":"1234",
"expirationDate":"17343234234",
"paths":"http:localhost:9090",
&...
Nones asked 10/11, 2020 at 15:25
1
Solved
I have the following saved json data in Elasticsearch:
{
"id":"1234",
"expirationDate":"17343234234",
"paths":"http:localhost:9090",
...
Altruistic asked 22/10, 2020 at 18:24
3
Solved
I have a Spring Boot application with Spring Data Elasticsearch plugin in the pom.xml. I created a document class which i'd like to index:
@Document(indexName = "operations", type = "operation")
p...
Feld asked 7/4, 2015 at 16:5
2
How spring data elastisearch use offset and limit to query. I want to use offset and limit param to query page.But I can not find methods support. For Example:
queryBuild.withPageable(PageRequest...
Decoct asked 19/9, 2019 at 10:31
2
I'm using spring-data-elasticsearch and for the beginning everything works fine.
@Document( type = "products", indexName = "empty" )
public class Product
{
...
}
public interface ProductRepositor...
Swop asked 11/2, 2015 at 22:58
1 Next >
© 2022 - 2024 — McMap. All rights reserved.