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

ElasticSearch - Sort does not work

I'm trying make a search and sort the results. However, I'm getting a error dont know why. EDIT - I'll provide my full mappings. "myindex": { "mappings": { "mytype": { "dynamic_templates": [ { …
NatsuDragonEye
  • 109
  • 5
  • 18
0
votes
1 answer

How to rank elasticsearch query results by number of matches on the should clause?

I have the following query : { "query":{ "bool":{ "should":[ { "match_phrase":{ "related":"robotic" } }, { "match_phrase":{ …
0
votes
0 answers

Elasticsearch Global timeout setting not reflected in search response's took parameter

We have setup a global timeout for an elasticsearch (5.3.3) cluster in elasticsearch.yml - search.default_search_timeout: 1nanos But the responses we get for this, in most cases, have "timed_out": true. However, sometimes, we do get the expected…
0
votes
1 answer

How to know the final query DSL Elasticsearch parsed?

I know the below two queries can get the same results. But is there a way to see the final parsed query by Elasticsearch, so I can certainly know they are the same? (Or, they are actually not exactly same, maybe one cost less time then the…
curiousY
  • 166
  • 2
  • 9
0
votes
1 answer

camel-elasticsearch5 component is not working

My project consume messaged from activemq and store in to elasticsearch 2.4 database with technology karaf 4.0.8, Apache camel (2.18.1), camel-elasticsearch component. I am trying to upgrade to elasticsearch 5 database and that required changes in…
anna
  • 265
  • 1
  • 3
  • 17
0
votes
1 answer

I have an AWS Elasticsearch instance that I want to change the delimiter used when tokenizing

I'm currently using Jest to communicate with an AWS Elasticsearch instance running Elasticsearch 5.3. One of the fields is a URL, but I don't think a single period without following white space is considered a delimiter by default when Elasticsearch…
0
votes
1 answer

Which client can run in Java 1.6 & query from Elasticsearch 5.4?

I'm currently using Elasticsearch 1.7.3 and I wanna upgrade to Elasticsearch 5.4. As per my understanding Elasticsearch 5.4 runs on Java 1.8. my application is running in Java6, and I'm using Jest 0.1.5 client for ES queries. I'd like to understand…
0
votes
1 answer

Angular-CLI Elasticsearch and Webpack

I'm trying to figure out how to configure my Angular(4) app with Elasticsearch 5x. I used angular-cli to init the project, then I... installed the types (npm install @types/elasticsearch --save) and the js client (npm install elasticsearch…
user3125823
  • 1,846
  • 2
  • 18
  • 46
0
votes
1 answer

Unbalanced Elasticsearch Performance

We have an Elasticsearch cluster with 9 nodes with the following settings: Elasticsearch Version 5.1.2 One Index in Cluster Primary Shard Storage Size: 3GB Number of Shards: 5 Number of Replica: 3 Node-1, Node-2 and Node-3 Master Only…
Mohammad Mazraeh
  • 1,044
  • 7
  • 12
0
votes
1 answer

Elasticsearch post_filter on nested types not filtering on aggregations

Hello Elasticsearch gurus, I need your help! We're using Elasticsearch v5.4 and I have multiple nested types in elasticsearch in the form of: "testLookup" : [ { "id": 1001, "name": "test1" }, { "id": 1002, "name": "test2" …
ZvKa
  • 138
  • 2
  • 3
  • 21
0
votes
1 answer

elasticsearch not receiving from localhost

I run logstash(192.168.56.100) and elasticsearch(192.168.56.100) on same host, but elasticsearch just create index and not receiving data. And I try run logstash(192.168.56.101) on different host, and elasticsearch(192.168.56.100) can receiving…
0
votes
1 answer

Elasticsearch: Already re-mapping but It still wont show all fields

I'm just trying to sync my mongodb with ElasticSearch. I've done the sync with river, and river already worked. But the ES won't show all fields, it only show "_ts" field in the object of "_source": Request: GET…
0
votes
1 answer

How do I analyze text that doesn't have a separator (eg a domain name)?

I have a bunch of domain names without the tld I'd like to search but they don't always have a natural break in between words (like a "-"). For instance: techtarget americanexpress theamericanexpress // a non-existent site thefacebook What is the…
user776942
0
votes
0 answers

Elasticsearch - Ignore values beyond percentile or standard deviation

Is there a way in Elasticsearch (5x) to filter for values that are "unusual" We have some time series data we run aggregation queries against, but occasionally due to bad data, we get some abnormal values. Is there a way to filter those out?…
K2xL
  • 9,730
  • 18
  • 64
  • 101
0
votes
1 answer

Lucene Syntax on ELK 5.3

I'm trying to find a way to parse UserAgent on kibana 5.3 so I could get the following response: "aws-sdk-java/1.11.76 Mac_OS_X/10.12.5" "aws-sdk-java/1.11.78 Mac_OS_X/10.11.2" "aws-sdk-java/1.11.80 Mac_OS_X/10.10.1" "aws-sdk-java/1.11.83…
jthemovie
  • 153
  • 2
  • 13