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

How to get percentiles for multiple fields in one ElasticSearch query

I learned how to write a ES query for calculating the percentile, but it seems to work for one field. If I want percentile on multiple fields, it does not work. "aggs": { "distinct_UUID": { "terms": { "field":…
0
votes
2 answers

Create keyword string type with custom analyzer in 5.3.0

I have a string I'd like to index as keyword type but with a special comma analyzer: For example: "San Francisco, Boston, New York" -> "San Francisco", "Boston, "New York" should be both indexed and aggregatable at the same time so that I can split…
Oleksiy
  • 6,337
  • 5
  • 41
  • 58
0
votes
1 answer

Aggregation, Query Context and filter Context not working in Elasticsearch 5.1

I am facing issue in migrating from elastic search 1.5 to 5.1. Following is my elastic search - 1.5 Query: { "_source":["_id","spotlight"], "query":{ "filtered":{ "filter":{ "and":[ …
Branel Moro
  • 132
  • 2
  • 9
0
votes
0 answers

Tinder like app using elasticsearch - Architecture

I have an application in the works which needs to work in following manner: - When App User sets a filter and the app returns a set of quotes. - Then user can like or dislike that "quote" - The liked or disliked quote is never shown to this…
0
votes
1 answer

can I limit number of indexing fields in elasticsearch 5.3

new to Elasticsearch. I see by default, ES creates indexes for every word in every field. But in my use-case, I will be searching only two fields, so am thinking to tell ES somehow that dont create index for everything in the document, but create…
JBone
  • 1,724
  • 3
  • 20
  • 32
0
votes
1 answer

Elasticsearch update by query "value" *1000 using python

i use everytime this programm in python to update string's fields of my database on elasticsearch. now i want to multiple the a value of Field with 1000, new_Value= Old_Value*1000 can someone tell me, what i have to change in my code? from…
AhmyOhlin
  • 519
  • 4
  • 8
  • 18
0
votes
1 answer

Install Elasticsearch Service in Linux

We are developing a java (spring boot) based software which depends on Elasticsearch. Right now we integrate elasticsearch via maven (as artifact). This version seems to be the same as the .zip / .tar.gz version from the elasticsearch website. As I…
hlpinform
  • 111
  • 8
0
votes
1 answer

elasticsearch-logstash time difference calculation (ELK 5.3)

I'm in the need to calculate the time difference manually without the elapsed plug-in as my end time varies & may got to 24hour with a very big amount of logs. I managed to get the start time from the old log by: elasticsearch { …
0
votes
1 answer

Breaking changes in elasticsearch 5.3.0 java api

I'm upgrading my elasticsearch from 2.3.4 to 5.3.0 Below are the jars in my classpath…
Darth Shekhar
  • 115
  • 3
  • 16
0
votes
0 answers

Install Elasticsearch Service in Windows

Elasticsearch service can not install in windows, When I run blow command: .\elasticsearch-service.bat install This output displayed in the command prompt: C:\Users\Norman\Desktop\elasticsearch\bin>.\elasticsearch-service.bat install Installing…
user197508
  • 1,282
  • 2
  • 18
  • 31
0
votes
0 answers

Extract value from elasticsearch log message with query

I have a ELK (v5.2.1) cluster for log analysis. My index has many log messages and some of the messages contain string about the result code. The messages are like this: 2017-03-28 20:35:14,518 [http-bio-8173-exec-3] INFO [soap] Outbound…
felixc
  • 168
  • 2
  • 11
0
votes
1 answer

Reindex data from Elasticsearch 1.X to ElastichSearch with old _timeStamp to new Field

I am trying to migrate my data from an old Elasticsearch(Version 1.4.4) Cluster to a new one (5.1) I am using the reindex api in the new Elasticsearch, but can't get the old _timestamp to a new field timestamp. Everything else works fine. POST…
Trind
  • 1,583
  • 4
  • 18
  • 38
0
votes
1 answer

How to remove custom stem removing y from end of word?

Are there any out-of-the-box stemming algorithms which remove y from the ends of words? If not how is making funky = funk generally dealt with?
user3494047
  • 1,643
  • 4
  • 31
  • 61
0
votes
2 answers

Elastic search to many aggregations: Unable to connect to the server

When I in Elastic Search 5.2.0 have more than 64 aggregations it fails with: { "ok": false, "message": "Unable to connect to the server." } This problem is related to Elastic Cloud - I have tested on a local elastic instance and it does not…
0
votes
1 answer

Analyze all uppercase tokens in a field

I would like to analyze value of a text field in 2 ways. Using standard analysis and a custom analysis that only indexes all uppercase tokens in the text. For example, if the value is "This WHITE cat is very CUTE.", the only tokens that should be…
Kiran Reddy
  • 53
  • 1
  • 6