Questions tagged [spring-data-elasticsearch]

Spring Data makes it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services as well as provide improved support for relational database technologies.

Spring Data makes it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services as well as provide improved support for relational database technologies.

1454 questions
0
votes
1 answer

spring-boot-starter-web and spring-boot-starter-data-elasticsearch Whitelabel Error Page

I am trying to use both the spring-boot-starter-web and spring-boot-starter-data-elasticsearch andI am having the following when I try to render a static Swagger html page: Whitelabel Error Page This application has no explicit mapping for /error,…
0
votes
1 answer

Serializing elasticsearch queries using springframework elasticsearch

I have an application where I'm using springframework's elasticsearch: org.springframework.data:spring-data-elasticsearch:1.0.0.RELEASE For debugging, I want to log the queries fired to elasticsearch but I couldn't find any API which I could use to…
coder
  • 1,901
  • 5
  • 29
  • 44
0
votes
1 answer

spring data mongo and spring data elasticsearch usage in pom.xm

I want to use both the dependencies in pom.xml as…
0
votes
1 answer

Elasticsearch grab all but limit to a certain number with Java API

There isnt an example online with the Java API to show how to limit the rows that come back from a search with ElasticSearch for all items. I tried the Filter Limit but it just wouldnt work because it would bring back more then the limit. I know…
Mike Flynn
  • 22,342
  • 54
  • 182
  • 341
0
votes
1 answer

elasticsearchtemplate dosearch method issue

I am trying to use spring-elastic search template for the queries. I am getting below exception when i try to execute queries through elastic search template. SEVERE: Servlet.service() for servlet [home] in context with path [/grid-admin-service]…
Vipin
  • 781
  • 1
  • 10
  • 19
0
votes
1 answer

Spring data elasticsearch - query

I'm new to elasticsearch, trying to retrieve indexed data from elasticsearch by using query,date histogram,facets. I have elasticsearch and kibana running properly on server. Now I want to pull the specific indexed data out of elasticsearch and plot…
nmanandhan
  • 302
  • 4
  • 14
0
votes
1 answer

control elasticsearch configuration in spring-data setup

I startup elasticsearch via XML configuration like this: Now I need more control on configuration e.g. setting the index files location. How can I achieve this? Can I pass parameter somehow or…
user1145874
  • 959
  • 3
  • 13
  • 21
0
votes
1 answer

regarding elastic search nested filter

I have the below mapping, { "wms": { "mappings": { "item": { "properties": { "barcode": { "type": "string" }, "comments": { "type": "string" }, "id": { …
0
votes
1 answer

Spring Data ElasticSearch NullPointerException

I have just started with Spring Data ElasticSearch. I have implemented my own repository, but I get a null pointer exception if I try to save an entity. I have got the following code, this is only some test code. package…
0
votes
1 answer

Index data from PostgreSQL to Elasticsearch

I want to setup an elasticsearch cluster using multicast feature.One node is a external elasticsearch node and the other node is a node client (client property set as true-not hold data). This node client is created using spring data elasticsearch.…
user3615392
  • 91
  • 2
  • 5
-1
votes
1 answer

I am trying to pass this query as native query from my spring boot application but its throwing response after trying alot of combiation also

{"size": 0,"query": {"term": {"loan_application_id": {"value": 87015}}},"aggs": {"group_by_fields": {"composite": {"size": 10,"sources": [{"loan_application_id": {"terms": {"field":"loan_application_id"}}},{"name": {"terms": {"field":…
-1
votes
2 answers

Issue connecting a spring boot application with elasticsearch 8.6 using spring data

I am new on ElasticSearch, and I would like to have a Spring Boot Application that connects to a database ElasticSearch 8.6, in order to do CRUD operations over an index. I was trying to do a CRUD application using Spring Boot with ElasticSearch…
-1
votes
1 answer

is there any property field to disable the SSL certificate verification in spring data elastic search?

in my current project i'm struck with the elastic search SSL cert verification, is there any way to disable that configuration ? solution for that question
-1
votes
1 answer

How to implements Spring Data Elasticsearch 8.4 and repositories?

I'm creating new Java POC in order to test Eelasticsearch 8.4 features. To do this, i found a configuration file on internet : @Configuration @EnableElasticsearchRepositories(basePackages = "com.poc.elastic") @ComponentScan(basePackages =…
Jérémy
  • 391
  • 2
  • 7
  • 20
-1
votes
1 answer

Can Spring Data Elastic Search connect to a proxy REST service that connects to Elastic Search?

My company has Elastic Search behind the REST endpoints /search and /count, but it hides the cluster nodes from access. I could call those REST endpoints through Native DSL queries, but I don't want to create a lot of the boilerplate code that comes…
1 2 3
96
97