Questions tagged [elasticsearch-7]

Use this tag for version specific questions about Elasticsearch 7.0 - the distributed, RESTful search and analytics engine. When using this tag also include the more generic [elasticsearch] tag where possible.

314 questions
109
votes
5 answers

ElasticSearch start up error - the default discovery settings are unsuitable for production use;

I have tried giving the following configurations in the elasticsearch.yaml file network.host: aa.bbb.ccc.dd that being my IPv4 Address and http.port: 9200 The response to this is as follows when I try to run elasticsearch.bat on my windows…
SSB
  • 1,572
  • 2
  • 10
  • 12
14
votes
4 answers

ElasticsearchStatusException contains unrecognized parameter: [ccs_minimize_roundtrips]]]

I am trying to do a simple search on ElasticSearch server and getting teh following error ElasticsearchStatusException[Elasticsearch exception [type=illegal_argument_exception, reason=request [/recordlist1/_search] contains unrecognized parameter:…
meyy
  • 141
  • 1
  • 1
  • 3
11
votes
2 answers

Elasticsearch 7.x circuit breaker - data too large - troubleshoot

The problem: Since the upgrading from ES-5.4 to ES-7.2 I started getting "data too large" errors, when trying to write concurrent bulk request (or/and search requests) from my multi-threaded Java application (using…
dorony
  • 1,008
  • 1
  • 14
  • 31
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
8
votes
1 answer

How does Elasticsearch 7 track_total_hits improve query speed?

I recently upgraded from Elasticsearch 6 to 7 and stumbled across the 10000 hits limit. Changelog, Documentation, and I also found a single blog post from a company that tried this new feature and measured their performance gains. But I'm still not…
Benjamin M
  • 23,599
  • 32
  • 121
  • 201
8
votes
1 answer

Parent Child Relation In Elastic Search 7.5

I am new to "Elastic Search" and currently trying to understand how does ES maintain "Parent-Child" relationship. I started with the following article: https://www.elastic.co/blog/managing-relations-inside-elasticsearch But the article is based on…
shujaat siddiqui
  • 1,527
  • 1
  • 20
  • 41
7
votes
0 answers

Elasticsearch search suggestion on array field with partial edge ngram completion

I am trying to build a suggester based on arrays of strings in my documents, it is similar to this one but with several differences : the completion suggester from Elasticsearch is not exactly doing what I want (in terms of filtering and prefix…
Cyril Duchon-Doris
  • 12,964
  • 9
  • 77
  • 164
6
votes
2 answers

Config number_of_shards and number_of_replicas in ELK

I keep studying about ELK Stack and ran into a little problem. I have been reading all the documentation possible and it makes great emphasis on the importance of shards and replicas. But nowhere does it say how to configure the number of each one.…
5
votes
2 answers

XContentType is removed from elasticSearch ver 7.17.3?

upgraded elasticsearch to 7.17.3 and I encountered error Cannot resolve symbol 'XContentType' Is 'XContentType' deprecated? What are its alternative?
jetpack
  • 169
  • 1
  • 9
5
votes
1 answer

Logstash shutdown recurrenctly in docker-container

I have used docker-compose to run ELKB. My primary goal is to starting elasticsearch and logstash containers. Logstash container should successfully be connected with elasticsearch and pass the logs to elasticsearch for further searching or…
Dipak
  • 2,248
  • 4
  • 22
  • 55
4
votes
1 answer

How to know total nodes in an elasticsearch cluster?

I have 3 nodes elasticsearch cluster. If more than one node goes down then I can easily check them manually. Suppose nodes in the cluster got increased then it will be difficult to check them manually. So, how can I get all the nodes(specifically…
4
votes
1 answer

Elastic Search Multiple Filter values for the same field

Say that I have to filter cars constructors in a Elastic Search Index (ES 7.15), where the field car_maker is mapped to keyword, having it a limited number of possibilities among car makers string names: { "mappings": { "properties": { …
loretoparisi
  • 15,724
  • 11
  • 102
  • 146
4
votes
2 answers

What is escape property in query_string in elasticsearch

I have a problem using wildcard in query_string in elasticsearch.I can not find documentation for the "escape" property in query_string when the value is "true" I got some results but when it is "false" the result is zero. { …
saba safavi
  • 160
  • 7
  • 20
4
votes
0 answers

Elastchsearch exception for large input text search using wildcardquery ,Eg"reason": "input automaton is too large: 1001""

while performing wildcard search on elastic documents with large input text(more than 1000 characters) I'm getting this exception for "starts with" search my starts with search eg: "myinputtext..*" myinputtext = more than 1000 characters detailed…
raja
  • 41
  • 2
1
2 3
20 21