0
votes
2answers
34 views

Sleuth + Zipkins with Elasticsearch

Can anyone point me towards the required/working configuration to use Elasticsearch as a storage type with Zipkins with Sleuth? pom.xml ' <description>Spring Boot Zipkin Server</...
0
votes
1answer
35 views

Elasticsearch 5.x Repository Java Spring Boot

I want to use the elasticsearchrepository with Java Spring Boot: https://github.com/spring-projects/spring-data-elasticsearch It is not a RELEASE version, but should work for elasticsearch 5.4.0. I'...
0
votes
1answer
14 views

Spring elasticsearch filter terms consume list

I have the following index and query @Document(indexName="idx", type="worker") public class Worker { @Id @Field(type = FieldType.Long) private Long id; @Field(type = FieldType.String) ...
0
votes
0answers
16 views

Last update spring elastic data lost elasticsearch.client:transport:jar:2.3.2

After 2017-07-03 maven project update <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-elasticsearch</artifactId> <...
0
votes
0answers
26 views

Complete newbie questions dealing spring boot with elasticsearch

I using below dependency in my spring boot application: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-...
0
votes
1answer
27 views

Spring Data Elasticsearch nested field multimatch query

I'm using elasticsearch with spring-data-elastic. And try to use multi search. The problem is while search wprking with class fields, its not working with nested fields. My mapping is like below { ...
0
votes
0answers
45 views

spring-data-elasticsearch - None of the configured nodes are available

I use the spring-data-elasticsearch with the version of 3.0.0 there has been a problem in use process, sometimes successfully, sometimes will report the error None of the configured nodes are ...
1
vote
1answer
22 views

Spring Data Elasticsearch wildcard query with sort

I wrote a search query for elasticsearch: { "query": { "query_string": { "fields": ["studentName", "countryName"], "query" : "*o*" } }, "sort" : [{ "studentName" : { "...
0
votes
1answer
34 views

Embedded elasticsearch is not accessible from outside

I have Spring Boot app with embedded elasticsearch. I can access it on as localhost:9200 but it doesn't respond with real IP xx.xxx.x.xx:9200. Port is open, problem is that it is listening local ...
1
vote
1answer
12 views

Search for string with umlauts seems to not work with Spring JPA ES

I have an object which is stored to embedded ES instance: @Document(indexName = "users", type = "user") public class Uer implements Serializable { @Id private String uid; @Field(type = ...
0
votes
1answer
16 views

Elasticsearch w/ Spring Data - _local search preference

We're using Spring Data Elasticsearch with nodes (and replicas) distributed geographically. We'd like to minimize the query traffic across boundaries and have all of the queries performed on the '...
0
votes
0answers
17 views

Elasticsearch simultaneously search by two documents

I have two different documents in the Elasticsearch - Decision and Nomination. Right now I can only search all of the documents wit Decision type. I use Spring Data Elasticsearch for this purpose: ...
0
votes
0answers
23 views

Search Guard With Spring Data ES

I followed steps mentioned here to secure my local ES installation using SearchGuard (no tag exist for it on SO). Now, it is reachable via Postman only through basic authentication with username ...
1
vote
0answers
47 views

Did Spring data elasticsearch 5.4 can be worked with Elasticsearch 5.3?

I didn't found spring data elasticsearch for elasticsearch 5.3 . Can I use spring-data-elasticsearch for 5.4 directly?
-2
votes
0answers
25 views

How to use “facets”(currently used in elasticsearch1.7.3) in elasticsearch5.4?

I am poor in java and elk. But before a week,my manager want me to update project's es-1.7.3 to es-5.4, until now ,my head is break, especially ,there is a lot change in two version for these java ...
0
votes
0answers
24 views

Spring Data Elasticsearch containing query with spaces

I have an entity named Port with a field portName. I wrote following Spring Data ES query method for containing query: List<Port> ports = portRepository.findByPortNameContaining(searchText); ...
0
votes
0answers
16 views

spring-data-elasticsearch searches across all indices and maps results to their corresponding entities

We can use ElasticsearchTemplate#queryForPage(SearchQuery query, Class<T> clazz) method to search an index to get some similar docs and map them to an Entity(which is specified by clazz in the ...
0
votes
1answer
37 views

Elasticsearch doesn't initialize in Spring Boot

I am updating the spring boot version of my applications to a version, in case I was using version 1.3.2 I am now migrating to 1.4.3. So my Elasticsearch is giving the following error. 2017-06-01 10:...
0
votes
1answer
78 views

ElasticSearch : Can we apply both n-gram and language analyzers during indexing

Thanks a lot @Random , I have modified the mapping as follows. For testing I have used "movie" as my type for indexing. Note: I have added search_analyzer also. I was not getting proper results ...
2
votes
1answer
298 views

spring boot 1.5.1 and elasticsearch 5.4

I have a spring boot 1.5.1 application and live Elasticsearch 5.4 which I can't downgrade to 2.4.5 or so Spring data supports only 2.x.x versions of Elasticsearch https://jira.spring.io/browse/DATAES-...
0
votes
0answers
74 views

spring data elasticsearch: settings and mapping config with annotations not working

I'm using embedded elasticsearch with spring boot and I was trying to use annotations for configuring settings and mappings. I followed this Tutorial which explains how to implement searching over ...
0
votes
0answers
72 views

Spring data elasticsearch bulk index and delete

I'm new to the community so I apology if I do something wrong. I'm using spring data elasticsearch (2.0.4/2.4) And I would like to make a bulk insert and delete. But ElasticsearchTemplate only ...
-1
votes
1answer
48 views

Exact matches with match query on analyzed field not showing on top

I have a data set like below "hits": [ { "_index": "demotest", "_type": "demotest", "_id": "2", "_score": 1, "_source": { ...
7
votes
1answer
267 views

Index not Found Exception

So, back again I have a JHipster generated project which uses an elasticsearch java client embedded in spring boot. I have recently done some major changes to the datasets since we've been migrating ...
0
votes
2answers
149 views

Elasticsearch for multiple language support

I am using elasticsearch 5.1.1. I have a requirement where in I want to index data in multiple languages. I used following mapping: PUT http://localhost:9200/movies { "mappings": { "title": { ...
0
votes
0answers
80 views

Spring Boot 1.5.2 and Elasticsearch 2.4

Spring Boot 1.5.2 only supports ES 2.4 and I have a number of unit tests that creates an embedded ES to run them with the following spring configuration, spring: data: elasticsearch: ...
0
votes
0answers
56 views

Elasticsearch not working in case of special characters

In Elasticsearch I am able to store my data with special characters , however I am not able to perform search operation on it. Exa : If I store the "device" field as admin-laptop or admin$laptop or ...
0
votes
2answers
39 views

Spring Data Elastic Search: remove low disk watermark warning

I'm getting constant warnings low disk watermark exceeded while running Spring Data embedded Elastic Search. Normally when running a separate ES server I would get rid of these types of warnings by ...
0
votes
1answer
76 views

Spring Data Elasticsearch only returning exact matches

I made a simple project to test free text search using Spring Data Elasticsearch. Here is my entity: @Document(indexName = "flag", type = "flag") public class Flag { @Id private String ...
1
vote
1answer
66 views

Spring Data Elasticsearch and ES CLI maintaining separate data?

I made a Spring Data ES project with following application.properties file: spring.data.elasticsearch.cluster-name=shubham_lookup_cs_default spring.data.elasticsearch.repositories.enabled=true ...
0
votes
2answers
58 views

matchAllQuery() in ElasticSearch

matchAllQuery() in Elasticsearch gets me only 10 results how do I increase its output so that I can get as many results as per my requirement. Code QueryBuilder query = QueryBuilders.matchAllQuery()...
0
votes
1answer
79 views

Get data from 3 different indexes in the Elastic search?

I was successfully able to get data from an individual index, but now I will have to get the data from 3 indexes, those 3 indexes are of different types (Student, Employee, School). With a single ...
0
votes
1answer
90 views

Spring Data Elasticsearch multi-term search for autocomplete

In my Spring Data Elasticsearch application I'd like to implement autocomplete functionality when user types a few chars and application will show him all possible variants with query*. Right now I ...
0
votes
0answers
102 views

Elasticsearch Spring Data and fuzzy search

I have a following data at my Elasticsearch index: { "_index" : "neo4j-index-node", "_type" : "Decision", "_id" : "335", "_score" : 1.0, "_source" : { "...
0
votes
0answers
25 views

Connect spring boot elastic data application with elasticsearch hosted on https://cloud.elastic.co

How can i connect spring boot elastic data application with the elastic search hosted on https://cloud.elastic.co. I have configure the URL on property spring.data.elasticsearch.cluster-nodes but ...
1
vote
1answer
118 views

How to connect to ES cluster locally made using Spring Data Elasticsearch?

I just started to learn Elasticsearch and Spring Data Elasticsearch with a demo project and I was able to get up and running. Installed Elasticsearch on Mac using brew install elasticsearch and ...
0
votes
0answers
44 views

Clear all previous data, before loading new data into Elastic search using Java API?

So, I have loaded data into the ElasticSearch and now whenever I upload new data it should initially delete the previous data and then upload the new data into the index.This must be a continuous ...
0
votes
2answers
129 views

Elasticsearch doesn't work after create repository No qualifying bean of type 'java.lang.Class<org.springframework.data.repository.Repository<?, ?>>'

Hello I have problem with Spring Data ElasticSearch I can connect with elasticSearch but after create repository my program stop working this is my code. Thank you in advance for your help with solve ...
0
votes
0answers
74 views

How to rebuild elasticsearch index when using spring-data-elasticsearch

According to elasticsearch document, you can use Alias to rebuild index with zero downtime. link. @Document, @Field, and ElasticsearchRepository provided by spring-data-elasticsearch is also great, ...
0
votes
0answers
61 views

Spring data elastic search sort by document types

In elastic search index "index1", I have different document types type1,type2 and type3 which is stored in "_type" field. I need to fetch "x" number of documents from "index1" with order preference as ...
0
votes
1answer
41 views

Elasticsearch custom query for getting elements of particular range?

I'm new to Elasticsearch so, here is my doubt: I have large data inserted into Elastic search. The data that I have inserted contains an attribute of marks of each subject, is it possible to write an ...
0
votes
1answer
150 views

Elasticsearch timestamp query

I can query elasticsearch with this command, { "query" : { "query_string" : { "default_field" : "Domain", "query" : "Domain : edelinefs" } } } but I can't ...
0
votes
1answer
59 views

difference between field and term query or match query

I have just started working on spring data elastic search . I am just using simple spring data api like :- findByName(String) but when i m going through spric doc , i m able to see , it will create ...
0
votes
1answer
111 views

Spring Data api (Containing or startwith) not working with SPACE which has wildcard

I am using Elastic Search with Spring Data . I have a simple method in repository: findByUserNameContaining("a b"); This method not giving expecting result because of SPACE. Error getting: "...
4
votes
1answer
103 views

ElasticSearch - Boosting based on depth in a recursive structure

I am using Elastic search 2.4.4(compatible with spring boot 1.5.2). I have a document object which has the following structure : { id : 1, title : Doc title //some more metadata ...
0
votes
0answers
95 views

Partial match with Spring Data Elasticsearch

I was able to search by whole words, for example searching phrase "secret" text "This is a secret word" was found. But If I search for phrase "secre" I get an empty array. I need this for autocomplete ...
1
vote
5answers
573 views

Can't connect java client to elasticsearch server

I'm trying to connect my java client to an elasticsearch server. Elasticsearch 2.4.0 is installed on a distant server. To access to it, I have to use port 10700. (When I run "telnet xxxx 10700", it ...
0
votes
0answers
335 views

Elasticsearch - java.lang.NoClassDefFoundError

I'm trying to connect a java client to my elasticsearch server. The version of elasticsearch is 2.4.0. This server has a special configuration that's why I use port 10700 instead of 9300 in order to ...
0
votes
0answers
79 views

Spring Data Elastic Search: Custom analyzer not found error

I have an index Customer and I want to use a custom analyzer to analyze the company field . The analyzer is stored in settings.json in resources folder. For some reason this analyzer does not get ...
1
vote
0answers
71 views

elastic search identify similar documents without search

Assume I have the below six records in elastic search ( id , text ) REC-001 , " Car was damaged" REC-002 , " Car was damaged on the front " REC-003 , " My Car got damaged while I was travelling" ...