Questions tagged [elasticsearch-5]

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

With Elasticsearch 5, Elastic takes a new approach on making its products work together by using unified release schedules. Each component of the Elastic Pack will be released at the same time with the same version. Elasticsearch 5 comes with shiny new features. Among others:

  • Index Shrinking
  • API for rolling over time-based indices
  • A new scripting language: Painless
  • New redesigned completion suggester
  • Re-index From Remote

Elasticsearch 5 documentation

1372 questions
0
votes
1 answer

Not able to create a index with specific shard numbers in ES

Am working on ES to create some new index in ES by limiting the shard number using below command curl -XPUT localhost:9200/es_test_index '{ "settings : { "number_of_shards" ; 2 } }' but there is small issue the index is getting created but no…
Adarsh H D Dev
  • 588
  • 7
  • 29
0
votes
1 answer

elasticsearch/kibana and nested object array

I have some documents that I imagine like those: { timestamp: "2017-11-12T00:00:00", samples: [ { param: "Temperature", value: 76.3 }, { param: "Pressure", value: 12.3 } ] } I'd like to plot temperature vs pressure. and…
dao hodac
  • 361
  • 2
  • 5
  • 14
0
votes
1 answer

ElasticSearch Migrate Data

I want to migrate data from Amazon AWS ElasticSearch version 2.3 to 5.1 and have created a data snaphsot in S3, now how do I copy those dump files from S3 to ES 5.1?
0
votes
1 answer

ElasticsSearch AWS Connect failure?

I am trying to connect ElasticSearch5 on my local with an AWS remote server however I am having issues connecting on port 80 (Getting None of the configured Nodes are available error) however I am able to access using cURL request. I am using a…
0
votes
1 answer

ElasticSearch view types in an index

How do I view the name of all types in an index? Is there a cURL request for the same?
Inherited Geek
  • 2,283
  • 2
  • 19
  • 26
0
votes
1 answer

Elasticsearch query term search, how to do it with _source?

I'm new with elasticsearch, I'am using version 5.1.2. I have this index, I don't know If I created well with the _source field. I want a query that returns all registers with loc = XXY and part = Z, how can I do it? I am trying with this but not…
Joan Triay
  • 1,518
  • 6
  • 20
  • 35
0
votes
1 answer

Fuzzy, Wildcard search with multiple terms: Putting all data into one property?

I'm currently embedding Elasticsearch as a Search-Interface into an existing application. The application is a classical 3-tier-application with a oracle SQL database. I have the Entity 'Person' (database table), with the following…
skeeks
  • 359
  • 2
  • 8
0
votes
0 answers

ideal mapping relationship for Email recipients?

I am trying to create an ElasticSearch mapping to index an Email. I've read the ES documentation regarding mapping relationships. However I am confused as to what to use to represent recipients? The ES documentation gives Strong warning to use…
BonitoFlakes
  • 69
  • 1
  • 7
0
votes
1 answer

ElasticSearch Nest 5.0.1 throwing below exception, when called from Droid project, From Unit test everything works fine

I am working on Xamarin Android using Nest 5.0.1 in NetStandard project. Search api are called from a portable project. When calling any Nest Search api via Unit test. It is working fine. But when the same api via Droid project getting below…
Irshad Ali
  • 1,153
  • 1
  • 13
  • 39
0
votes
0 answers

Elasticsearch Index-per-Type to avoid reindexing all data

I am currently using Elasticsearch 5, and working with data sets that take approximately a day to index each type. There are about 10 types. The mapping for each type may change. In Elasticsearch 2 it was necessary to delete the type and reindex.…
Paul T Davies
  • 2,527
  • 2
  • 22
  • 39
0
votes
1 answer

Logstash - Data from Kafka to ES

Using logstash 5.0.0, Taking kafka source as the input -> taking the data and producing the output in Elasticsearch. (ElasticSearch version 5.0.0) Logstash conf: input{ kafka{ bootstrap_servers =>…
0
votes
0 answers

Elasticsearch with and without filter by id

I have document type user and I would like to understand why by using filter it took more time than not applying any filter. For example imagine I have 1 billion documents, it's like scanning the whole billion record comparing with by filtering with…
odin88
  • 76
  • 1
  • 4
0
votes
1 answer

Incorrect unique values from field in elasticsearch

I am trying to get unique values from the field in elastic search. For doing that first of all I did next: PUT tv-programs/_mapping/text?update_all_types { "properties": { "channelName": { "type": "text", "fielddata": true …
kkost
  • 3,640
  • 5
  • 41
  • 72
0
votes
1 answer

How can I apply a threshold for a bar graph in Kibana?

I've gone through this particular ticket, which pretty much talks about adding a threshold line, to a line graph. In my case, I'm having a bar graph like this where I need to have a threshold, lets say for example in the above graph itself I should…
Kulasangar
  • 9,046
  • 5
  • 51
  • 82
0
votes
1 answer

Adding documents using Bulk api in elasticsearch 5.1.1 through cerebro0.4.1 plugin

When i tried to post the below code in cerebro plugin POST /_bulk { "index" : { "_index" : "test", "_type" : "type1", "_id" : "1" }, "field1" : "value1" , "delete" : { "_index" : "test", "_type" : "type1", "_id"…
Private
  • 1,661
  • 1
  • 20
  • 51