elasticsearch-5 Questions

20

Solved

I recently upgraded to Elasticsearch version 6.1.1 and now I can't bulk index documents from a JSON file. When I do it inline, it works fine. Here are the contents of the document: {"index" : {}} ...
Rabi asked 2/2, 2018 at 9:52

4

I am trying to update a document's nested type field using update_by_query. I am using the following script query: POST test/_update_by_query { "script": { "source": "ctx...
Herne asked 20/8, 2020 at 12:33

1

Solved

I am trying to batch update documents on the elastic search index. I want to know how can I achieve this scenario. I have to create document if no document of that primaryKey exist. I have to add ...
Maori asked 18/11, 2022 at 11:57

1

Solved

I am using elastic search query range to get the records from one date to other date using python, but I am only getting 10 records. Below is the query {"query": {"range": {&quo...
Analogue asked 26/9, 2022 at 6:16

2

Solved

I am using elastic search version 6.0.0 for group by month, I am using date histogram aggregation. example which I've tried : { "from":0, "size":2000, "_source":{ "includes":[ "cost", "da...

3

I have an index on AWS Elasticsearch which were unassighed due to NODE_LEFT. Here's an output of _cat/shards rawindex-2017.07.04 1 p STARTED rawindex-2017.07.04 3 p UNASSIGNED NODE_LEFT rawindex-...

3

Is it possible to put a comment into an Elasticsearch query JSON? I want to be able to add some extra text to the query that's human-readable but ignored by Elasticsearch. For example, if I have t...
Holter asked 16/3, 2017 at 20:23

4

Solved

I am working on using an ElasticSearch database to store data I am pulling from online. However, when I try to index the data in the database I receive an error. Here is my code for creating and in...
Gymnosperm asked 14/7, 2017 at 20:4

1

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]....
Cloudy asked 23/9, 2020 at 18:47

1

I'm trying to implement elasticsearch for searching products. Some product names contains numbers. I use fuzzy-search to make life easier for the users but I don't want the numbers to be fuzzy-sear...
Touter asked 30/1, 2018 at 9:8

3

I have a cluster of 6 nodes with ES 5.4 with 4B small documents yet indexed. Documents are organized in ~9K indexes, for a total of 2TB. The indexes' occupancy varies from few KB to hundreds of GB ...
Exploratory asked 19/7, 2017 at 9:51

2

Solved

I can't find any examples of how to structure an array of strings in elasticsearch when trying to PUT a mapping to an index. What I have for the field mapping: :tags {:type :array :store true} T...

4

I've set up a test Amazon Elasticsearch Service, which uses Elastic and Kibana 5.1. I'm able to insert a test entry via curl: curl -XPOST "https://mytestservicedomain.amazonaws.com/testindex/test...
Ecclesiastic asked 5/2, 2017 at 21:19

2

Solved

Elastic search is occupying more than 25 GBs of RAM. Data that I gave for indexing to elastic search is around 1 GB. Why elastic search needs this much of space?
Revise asked 20/9, 2018 at 8:56

7

Solved

When I try to store anything in elasticsearch, An error says that: TransportError(403, u'cluster_block_exception', u'blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];') I already ...
Twink asked 30/12, 2017 at 9:33

3

Solved

I am building a query to Elastic 5 (using nest in .net), i am trying to achive this result: Must have value1 and value 2 Should have value3 or value 4 and should have value5 or value6 Here is...
Redundant asked 13/11, 2016 at 12:45

1

Mapping { "supply": { "properties": { "rotation_list": { "type": "nested", "properties": { "project_end_date": { "...
Faux asked 10/7, 2020 at 3:10

2

Solved

I have documents like this: { body: 'some text', read_date: '2017-12-22T10:19:40.223000' } Is there a way to query count of documents published in last 10 days group by date? For example: 2017...
Cicily asked 22/12, 2017 at 8:59

2

Solved

I am looking at examples of single-type indices on ElasticSearch 5.6 to prepare for the removal of mapping types. Specifically, I am running the first example from the ElasticSearch page about the ...
Averil asked 5/1, 2018 at 9:13

4

Solved

I am using Elasticsearch 5.1.1 and have 500 + indices created with default mapping provided by ES. Now we have decided to use dynamic templates. In order to apply this template/mapping to old indi...
Sprightly asked 24/5, 2017 at 18:18

1

Running Elasticsearch using the below docker-compose.yml is throwing an error Java.nio.file.AccessDeniedException: /usr/share/elasticsearch/data/nodes It appears that this is due to trying to...
Laquitalar asked 1/2, 2020 at 0:2

0

I am new to ElasticSearch.I am reindexing some indexes in my ElasticSearch Cluster. While I am trying to reindex an index that has a large amount of data I am getting Socket hang up error. const e...

2

I have a query which runs every time a website is loaded. This Query aggregates over three different term-fields and around 3 million documents and therefore needs 6-7 seconds to complete. The data...
Claimant asked 3/1, 2017 at 10:10

3

Solved

I'm quite unclear of what sql_last_value does when I give my statement as such: statement => "SELECT * from mytable where id > :sql_last_value" I can slightly understand the reason behind ...

3

Solved

I can't start ElasticSearch 5.6 server on Mac after installing it with Brew. Get this error: $ /usr/local/opt/[email protected]/bin/elasticsearch Exception in thread "main" org.elasticsearch....
Bander asked 12/3, 2019 at 13:10

© 2022 - 2024 — McMap. All rights reserved.