Use this tag for version specific questions about Elasticsearch 6.8. When using this tag also include the more generic [elasticsearch] tag.
Questions tagged [elasticsearch-6.8]
34 questions
3
votes
2 answers
AWS Elasticsearch Auto-Tune feature shows Error
I just updated AWS Elasticsearch from version 5.6 to 6.8. And there is an Auto-Tune feature tab appeared in the Console. But it looks like does not work and shows only "Error" in front of Auto-Tune and nothing else.
After enabling Auto-Tune it show…

Vadim Yangunaev
- 1,817
- 1
- 18
- 41
3
votes
0 answers
Improve performance of a nested term aggregation?
Is there a way to improve performance of a nested term aggregation without sampling?
Terms query:
GET /_search?pretty&request_cache=false
{
"_source": false,
"sort": [
"_doc"
],
"size": 0,
"track_total_hits":…

shusson
- 5,542
- 34
- 38
3
votes
1 answer
How to do sorting on a field with composite aggregation in elastic search
How to do sorting on a field with composite aggregation in elastic search.
We are using elastic search version 6.8.6 and trying to achieve sorting on a field with composite aggregation.
But we are not able to get expected results with…

Dinesh Somkuwar
- 31
- 2
3
votes
1 answer
How can I do integration testing in elasticsearch with spring-data-elasticsearch?
I am using spring-data-elasticsearch v3.2.4.RELEASE which is available via spring-boot-starter-data-elasticsearch v2.2.4.RELEASE.
I want to do the integration tests for this but the available option which is…

P3arl
- 383
- 3
- 18
2
votes
2 answers
Installing Elasticsearch 6.8.15 on Apple-M1 Macbook issues
I am trying to download elasticsearch 6.8.15 for my current project. I am on a 2020 Macbook air with the M1 chip and have tried download using brew and a docker image but whenever I try to get elasticsearch to run I get a few issues.
First it…

user16579757
- 21
- 1
- 1
- 3
1
vote
0 answers
ElasticSearch - How to increase rank based on count of terms match
Take the following Author example object (jsonified):
{
"name": "Author 1",
"enabled": true,
"books": [
{"name": "book1", "popular": true},
{"name": "book2", "popular": true},
{"name": "book3", "popular": false}
]
}
What I…

Mojimi
- 2,561
- 9
- 52
- 116
1
vote
1 answer
Bulk insert documents but if it exists only update provided fields
I have an index which contains data as follows:
{
"some_field": string, -- exists in my database
"some_other_field": string, -- exists in my database
"another_field": string -- does NOT exist in my database
}
I have a script which grabs data…

Cov
- 561
- 5
- 20
1
vote
0 answers
Generate Series of Days with ElasticSearch
With PostgreSQL I can use the generate_series feature to generate a list of days between two dates, and with a little effort, even generate a list of sales made by day within that range, even if there are no sales for the day, displaying the day…

Tom
- 641
- 2
- 8
- 21
1
vote
0 answers
ElasticSearch 6.8 Java library: when sending an UpdateRequest overwrite a field of type Object instead of merging
We are using the Java library for Elastic Search version 6.8. We are trying to send an UpdateRequest to do partial updates to our fields. A couple of our fields are Objects (-> maps: key, value)
When sending a request for example:
var…

JNS
- 11
- 4
1
vote
0 answers
Sql query on elastic 6.8 does not work as expected. Array of nested objects are flattened same as of type object
Thanks for the answer in advance.
I am running a query
SELECT key
FROM records_index
WHERE
(product_nested_field.code = '1234' and product_nested_field.codeset = 'category1' OR product_nested_field.code = '444' and product_nested_field.codeset =…

yaroslav prokipchyn
- 472
- 2
- 8
- 17
1
vote
1 answer
Elasticsearch: Custom Token Filter
Since there is no documentation about the subject, it is very complicated to understand how to implement a custom token filter plugin from scratch in Java.
I'd like to get an analyzer filter that returns only tokens that are numbers for example.
Any…

solbader
- 21
- 5
1
vote
1 answer
Getting error index.max_inner_result_window during rolling upgrade of ES from 5.6.10 to 6.8.10
I have 2 data nodes and 3 master nodes in an ES cluster. I was doing a rolling upgrade as ES suggested moving from 5.6.10 to 6.8.10.
As there should be zero downtime, I was testing that and getting one error.
I have upgraded the 1 data node and do…

Sharvil
- 247
- 1
- 6
- 15
1
vote
1 answer
Elasticsearch: Trying to find out appropriate searching query algorithm
I want a result from elastic search in a way where entered search string match with multiple fields of documents and list out the result from indexes is max number of field matching record shows first and least number of field matching record show…

jilesh
- 436
- 1
- 3
- 13
1
vote
0 answers
null_pointer_exception in percolator query matching against stored scripts
I am using Elasticsearch version 6.8.
I have some percolator queries containing stored scripts which matches a regular expression against some fields. Scripts are like below:
{
"_id" : "05441b99218d27e831414b4584ef628e",
"found" : true,
…

Puja Agarwal
- 11
- 2
1
vote
1 answer
elasticsearch sort by _id
We had sort by _uid in elastic 5.x that is now deprecated
We upgraded existing 5.x data and elastic 6.8.3 is using it fine
but the sort fails
We changed the code to sort by _id, that works for newly created index
but the old one seems to be 5.x…

Kalpesh Soni
- 6,879
- 2
- 56
- 59