Questions tagged [elasticsearch]

Elasticsearch is a free and open, distributed, RESTful search engine based on Lucene.

Elasticsearch is a free and open, distributed, RESTful search engine based on and developed in .

Together, , , and are commonly known as the . With the addition of Beats, a free and open platform for single-purpose data shippers, the ELK Stack is now known as the Elastic Stack.

Elasticsearch is a distributed, scalable, and multitenant-capable full-text search engine with a RESTful web interface and schema-free documents. It is also document-oriented and includes various APIs, such as native Java and HTTP RESTful. Elasticsearch supports both schema on read and schema on write on the same data, providing speed an

Elasticsearch allows you to choose to store data locally for fast search or store remotely on object-based storage such as for lower-cost options.

Elasticsearch comes with various text preprocessing algorithms, allowing users to set up custom or predefined multilingual analyzers to improve search relevance.

Official clients are available in , , , , , , , and many other languages.

Latest stable releases:

Elastic is the parent company of the Elasticsearch product.

58010 questions
9
votes
3 answers

Elasticsearch not returning singular/plural matches

I am using a php library of elasticsearch to index and find documents in my website. This is the code for creating the index: curl -XPUT 'http://localhost:9200/test/' -d ' { "index": { "numberOfShards": 1, "numberOfReplicas": 1 } }' I…
Ninja
  • 5,082
  • 6
  • 37
  • 59
9
votes
1 answer

Elasticsearch garbage collection warnings (JvmGcMonitorService)

I am running a set of integration tests via Docker. The tests create various indexes, index docs, query docs, delete docs, etc. Most of the time they pass, but occasionally a few tests will fail, due to a SocketTimeout connecting to the…
rmf
  • 625
  • 2
  • 9
  • 39
9
votes
1 answer

Can not get to work Fluentbit multi-line parser in k8s env

My project is deployed in k8s environment and we are using fluent bit to send logs to ES. I need to send java stacktrace as one document. Therefore I have used fluent bit multi-line parser but I cannot get it work. Approach 1: As per lot of…
Viraj
  • 5,083
  • 6
  • 35
  • 76
9
votes
1 answer

elasticsearch = cannot allocate because allocation is not permitted to any of the nodes

I have elasticsearch as a single node cluster. One of the indexes is yellow with the explanation below. I have read all the material here and in general, I did not find a solution for this problem. here is the index info: yellow open research-pdl …
SexyMF
  • 10,657
  • 33
  • 102
  • 206
9
votes
1 answer

Elasticsearch: Are RestClient and RestHighLevelClient deprecated in v7.10

I am using Elasticsearch v7.10, and in the javadoc, is the following interface org.elasticsearch.client.Client but not the following two classes: org.elasticsearch.client.RestClient org.elasticsearch.client.RestHighLevelClient I am not looking…
ben.jamin
  • 217
  • 1
  • 3
  • 6
9
votes
2 answers

Elasticsearch version 7 cannot be changed from type [keyword] to [text]

I am a newbie of elasticsearch. I create a mapping using such code: PUT /my-demo1 { "mappings": { "properties": { "dsu_sn": { "type": "keyword" }, "iot_id": { "type": "keyword" }, "test_suite_id":…
Vin Qin
  • 129
  • 1
  • 1
  • 8
9
votes
1 answer

Elastic Search version conflict issue

I am using an elastic search for search purpose. But recently I observer that some random error while adding data into elastic search: version conflict, required seqNo [113789], primary term [19]. current document has seqNo [113797] and primary…
Suraj Dalvi
  • 988
  • 1
  • 20
  • 34
9
votes
5 answers

install elastic search in docker

I used these two commands in cmd: docker pull elasticsearch show error: Using default tag: latest Error response from daemon: manifest for elasticsearch:latest not found: manifest unknown: manifest unknown and this command with several different…
Mehdi Jalali
  • 183
  • 1
  • 2
  • 9
9
votes
5 answers

CloudWatch resource access policy error while creating Amazon Elasticsearch Service via Cloud Formation

I am trying to create an elastic search domain with enabled LogPublishingOptions. While enabling LogPublishingOptions ES says it does not sufficient permissions to create a LogStream on Cloudwatch. I tried creating a policy with a role and attaching…
9
votes
2 answers

How to increase the vm.max_map_count in AWS ECS fargate?

I am trying to run a sonarqube app on the AWS fargate platform. When I run the raw docker image it works like a charm. But If I pass the JDBC properties to the container as an argument I am facing the following issue. Apparently, the elastic search…
9
votes
1 answer

How to update the Elasticsearch document with Python?

I am using the code below to add data to Elasticsearch: from elasticsearch import Elasticsearch es = Elasticsearch() es.cluster.health() records = [ {'Name': 'Dr. Christopher DeSimone', 'Specialised and Location': 'Health'}, {'Name': 'Dr.…
user6882757
9
votes
2 answers

AWS Elasticsearch Kibana with Cognito - Missing role

Following this article to set up Cognito auth for AWS Elasticsearch. https://aws.amazon.com/blogs/database/get-started-with-amazon-elasticsearch-service-use-amazon-cognito-for-kibana-access-control/ Getting an error: Open Distro for…
9
votes
2 answers

ElasticSearch mapping doesn't work

I'm trying to set up an ElasticSearch index with different analyzers for the individual fields. However, I can't seem to find a way to set field-specific analyzers; here's how I create my (test) index: curl -XPOST localhost:9200/twitter curl -XPUT…
Felix
  • 367
  • 1
  • 5
  • 7
9
votes
2 answers

How do I delete an Index using NEST 7.4.1?

I am new to Elastic search and I have written code to index a list of City. I am using "elasticsearch head" add-on for chrome to check and manipulate the indexes and _doc. While indexing and CRUD operation of doc is resulting correctly, I had to…
Ashish Gope
  • 320
  • 1
  • 5
  • 13
9
votes
1 answer

Elasticsearch 7 The [standard] token filter has been removed

I am attempting to upgrade to Elasticsearch v7 (I'm using the ruby/rails client), and upon doing so and fixing several stuff, I run across the following error Elasticsearch::Transport::Transport::Errors::BadRequest: [400]…
Cyril Duchon-Doris
  • 12,964
  • 9
  • 77
  • 164