elasticsearch Questions

1

Solved

I'm trying to run a number of services using a docker-compose file. First of all let's say that Docker, version 20.10.3, is running on a Red Hat Enterprise Linux release 8.3. This is the docker-com...
Skittle asked 17/8, 2021 at 13:38

4

Solved

Getting this error when using searchkick with elasticsearch on mac. Searchkick version: searchkick (4.5.2) $ elasticsearch --version warning: no-jdk distributions that do not bundle a JDK are depre...
Booth asked 12/8, 2021 at 18:49

3

I am trying to setup EFK (ElasticSearch 8, FluentD and Kibana) stack on K8S cluster (on-premises) I followed this link to install elasticsearch and installed it using helm charts and followed this ...
Langbehn asked 18/10, 2021 at 14:10

8

I'm using elastisearch using Python. My code looks somewhat like this:- from elasticsearch import Elasticsearch if __name__ == '__main__': index="IndexPosition" es=Elasticsearch(['htt...

2

Do you know how to propertly mock the Elasticsearch Java Client? Currently to mock the following request in Java: SearchResponse response = client.prepareSearch(index) .setTypes(type) .setFrom(0...
Suction asked 31/3, 2015 at 12:56

3

Solved

I am trying to add Elasticsearch to my project. I have addded the necessary dependencies to my pom.xml file. When I run the server I am getting this error: java.lang.IllegalStateException: Failed...
Specter asked 13/11, 2018 at 15:19

2

Situation: I'm importing data to Elasticsearch via Logstash at 12 pm manually every day. I understand there is no "close" on Logstash because ideally, you would want to continuously send data to ...
Klepht asked 21/2, 2019 at 16:10

6

My synonyms are stored in a database and, when the synonyms are changed in the database, I want to update any values in the index which may be changed as a result of the synonym change. There are...
Borlow asked 27/8, 2013 at 22:49

3

Solved

I am trying to downgrade Elastic Search from 7 to 6 as the application I am using only works on 6. When I install 6 I get boosted to 7 for some reason: { "name" : "activecollab-v6", "cluster_na...
Evette asked 22/5, 2019 at 14:53

3

Solved

I have an index already filled with many documents. All of the documents in the index have a name string field. I want to query and update all of them which have name = A and set it to name = B. F...
Cush asked 23/6, 2017 at 16:12

12

Solved

What is the fastest way to get all _ids of a certain index from ElasticSearch? Is it possible by using a simple query? One of my index has around 20,000 documents.
Rubber asked 5/7, 2013 at 21:28

4

Solved

I'm running into the weirdest permission issue for _msearch. When running simple _search with the same query, everything runs perfectly. POST /job/_search {"query":{"bool":{&quo...
Westbrook asked 24/3, 2021 at 4:9

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

3

Solved

I'm working with ES and I need a query that returns the difference between two datetime (mysql timediff), but have not found any function of ES to do that. Someone who can help me? MySQL query: SEL...
Youmans asked 18/9, 2015 at 18:21

2

Solved

I have a keyword field like this: "address": { "type": "keyword" } The value is written in camel-case, as it's intended for display. e.g "1/10 Somewhere Rd, Som...
Acidhead asked 6/8, 2020 at 22:20

4

Solved

Elasticsearch healthcheck on docker-compose stops any dependent services because the container is always unhealthy. I see this when I run docker ps -a --format "table {{.Names}}\t{{.Image}}\t{...
Psychro asked 30/6, 2021 at 23:26

1

Solved

I am looking into using Elastic KNN search feature and from what I see this is how we query ES for KNN search. GET my-index/_knn_search { "knn": { "field": "image_vector&...
Lyssa asked 9/10, 2023 at 17:21

6

Solved

I tried to check it via curl -XGET 'http://localhost:9200/_cluster/health' but nothing happened. Seems it's waiting for something. The console did not come back. Had to kill it with CTRL+C. I ...
Murrell asked 8/12, 2014 at 18:40

32

Solved

When I tried connecting to Elasticsearch using the curl http://localhost:9200 it is working fine. But when I run the curl http://IpAddress:9200 it is throwing an error saying Failed to connec...
Interpreter asked 28/7, 2015 at 13:20

2

I want to run elasticsearch and kibana with docker-compose. This is my docker-compose.yml which I run with docker-compose --env-file dev.env up Docker Compose version: '3.1' services: elasticsear...
Zoophyte asked 25/3, 2022 at 11:8

3

Solved

I am trying to understand if I have an issue with my AWS Elasticsearch garbage collection time but all the memory-related issues that I find are relating to memory pressure which seems OKish. So wh...
Varuna asked 16/12, 2021 at 9:14

5

Solved

When I try to run my elasticsearch container through kubernetes deployments, my elasticsearch pod fails after some time, While it runs perfectly fine when directly run as docker container using doc...
Horatius asked 30/8, 2018 at 11:24

5

Solved

I'm using the ElasticSearch (2.4) and the official Python client to perform simple queries. My code: from elasticsearch import Elasticsearch es_client = Elasticsearch("localhost:9200") index = "i...
Myiasis asked 2/11, 2016 at 16:25

9

Solved

We retrieve information from Elasticsearch 2.1 and allow the user to page thru the results. When the user requests a high page number we get the following error message: Result window is too lar...
Sodamide asked 4/2, 2016 at 16:30

15

Example query: GET hostname:port /myIndex/_search { "size": 10000, "query": { "term": { "field": "myField" } } } I have been using the size option knowing that: index.max_result_window =...
Michaelamichaele asked 14/1, 2017 at 22:54

© 2022 - 2024 — McMap. All rights reserved.