Questions tagged [elasticsearch-indices]
93 questions
0
votes
1 answer
Elasticsearch indices eating too much space
I'm using Elasticsearch 7.5.2 on Ubuntu. Recently, I began using Elasticsearch to display relevant search results on every page load. This shot up the volume, but I also found out that it has created large index files. Note that I'm using…

TheBigK
- 451
- 5
- 17
0
votes
0 answers
All indices got deleted suddenly in ElasticSearch
We have an AWS Managed ES Cluster, and 4 indices in them. Our data was there in all the indices till 31st December, 2019. However, when we returned on 2nd Jan, 2020, we saw all the indices were deleted! This is really terrifying for us. I quickly…

Revanth
- 87
- 2
- 13
0
votes
0 answers
Need information about the index size increased after enabling the _source
I am using ES 1.7 in production without _source field due to which we are not able to use features like highlight etc, I enabled _source on ES 1.7 which increased the index size by 50%.
Now we are evaluating the ES 7.X and the same exercise when I…

Amit
- 30,756
- 6
- 57
- 88
0
votes
1 answer
Elasticsearch max document count for each index
I have two separate indices A and B with alias X. Both indices have same document structure.
When I search with size = 20 on alias X , I want to set max document size 5 for index B. The search result should contains max 5 documents from index B.…

mstzn
- 2,881
- 3
- 25
- 37
0
votes
1 answer
Elasticsearch - illegal_argument_exception when creating index with analyzers
I am using the Elasticsearch's PHP API and Advanced REST Client (ARC), both to test the ES API. When i try to create a new index with a custom analyzer, i get this error:
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason":…

Lautaro Aguirre
- 11
- 1
- 2
0
votes
1 answer
delete time based indices on elastic search older than 30 days using date math expression in JAVA gives indexNotExists exception
want to delete time based indices on elastic search older than some specific (let's say 30) days using date math expression in JAVA.
Trying to implement following approach in our spring boot application using Transaport Client but getting index not…

singla_02
- 23
- 6
0
votes
1 answer
Is it possible to insert data in to Elastic Search from URL?
Currently, Im working on ElasticSearch and I was able to insert data into ElasticSearch using CMD is there a way that I can insert the JSON data from web URL to ELasticSerach Using java.

Abhishek Ekaanth
- 2,511
- 2
- 19
- 40
0
votes
1 answer
How to know the ES index from the ES query?
I have the Elastic search query(got it from the XHR call - using ARC), but need to know to which index, the query is being hit.

Steve
- 381
- 1
- 6
- 16
0
votes
1 answer
Rails: running my seeds file and elasticsearch throws: more than one indices
So I'm running a large and fairly complicated seeds file. I batch the creation of all types of associated records before batch saving them. I'm running into an issue where I'm given this…

romanchukenator
- 97
- 1
- 6
0
votes
0 answers
Elasticsearch update mapping without re-indexing the existing data
How to update the existing mapping to include eager-ordinals for a field. This has to be done without re-indexing the data is it possible ? We are using index template to apply mappings and settings to the index.
Problem with creating the new index…

banu
- 31
- 1
- 1
- 6
0
votes
0 answers
ElasticSearch - Dealing with problems with de-normalized data
I built an auction system that uses ElasticSearch. It has 3 models, users, auctions and bids. A user can post an auction and can also bid on other auctions.
One of my first use cases for searching is for searching bids. Aside from searching by id,…

gerky
- 6,267
- 11
- 55
- 82
0
votes
1 answer
elasticsearch: multifield mapping of multiple fields
i will have a document with multiple fields. let's say 'title', 'meta1', 'meta2', 'full_body'.
each of them i want to index in a few different ways (raw, stemming without stop-words, shingles, synonyms etc.). therefore i will have fields like:…

piotrek
- 13,982
- 13
- 79
- 165
0
votes
1 answer
How many old indices I should have for ElasticSearch?
I am using ElasticSearch with mainly default configuration and noticed recently that my old indices are eating too much space. I believe they are being created automatically because of default configuration since I have not done any such…

AAgg
- 494
- 1
- 3
- 19
0
votes
2 answers
Elastic Search JSON String:JSONObject indexing
can elastic search index values such as
"key": [
14.0,
"somestring"
]
if i try to ingest this data, i get this error
org.elasticsearch.hadoop.rest.EsHadoopInvalidRequest: Found unrecoverable error [Bad Request(400) -…

AbtPst
- 7,778
- 17
- 91
- 172
0
votes
1 answer
Can I narrow results from Elastic Search _stats get?
I am using elastic search for the project I'm working on and I was wondering if there was a way to narrow the results I get from an indices stats search.
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-stats.html
I currently…

David Carek
- 1,103
- 1
- 12
- 26