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

Search multiple indices for an ID efficiently?

I need to get a document but I have no idea what index it is in. I have a bunch of indices for different days; all prefixed with "mydocs-". I've tried: GET /mydocs-*/adoc/my_second_doc returns "index_not_found_exception" GET…
user776942
0
votes
1 answer

Refining a curl URL search string

I have this URL string: curl -XGET "http://es.host.com:9200/filebeat/_search?q=type:MEMORYUSE&size=100&pretty=true") It works like I want, but now I would like to limit the MEMORYUSE to only return one host. Example I would like to use the sting…
Wayne
  • 125
  • 3
0
votes
1 answer

Configure Spring bean by setting up the elastic 5.5.1 configuration settings and create a transport client bean

I am trying to use ElasticSearch Java API 5.5.1 and while trying to create a bean for PreBuiltTransportClient(TransportClient in ES 2.3) I am facing the below issue. Error creating bean with name 'preBuildTransportClient' defined in ServletContext…
0
votes
1 answer

Performance features in Elasticsearch 5 that are not available in Solr 6

I am picking one of the 2 search engines above for a project, and so far both of them have shown to be similar in functionalities. At least for the requirements that I have: Proximity Search Boolean queries query over all fields Boolean…
Filipe Miranda
  • 914
  • 1
  • 20
  • 33
0
votes
1 answer

Downgrading Elasticsearch from 5.5.1 to 2.1.0 mapper_parsing_exception

I got a mapping problem with elasticsearch: I use ES 5.5.1 on my local machine and testet my python programm locally and everything worked (could create index, index data etc.). Now i wanted to deploy my app to a cloud foundry solution which is…
PouletFreak
  • 29
  • 1
  • 12
0
votes
1 answer

Elasticsearch 5.5 Cross Cluster Search setup issues

I am trying to setup cross cluster search. My issue is all my ES clusters are behind an nginx proxy with basic auth I can access the elastic rest endpoint by requesting nginx endpoint: https://:@: Can I…
0
votes
1 answer

How to handle following/followers in Elasticsearch

I store a user into Elasticsearch as: { "name": "Alice", "following": ["Bob", "Charlie", etc...] } When I read it back, I'd like to get: { "name": "Alice", "following": ["Bob", "Charlie", etc...], "followers": X } where X should be the number of…
Donald
  • 1
0
votes
0 answers

Using Delete By Query API and Bulk API together in Elastic

I couldn't see any documentation/example about using delete by query api with bulk api in elastic search. Simply, I want to delete all the documents having same A field and insert many documents just after that. If delete process fails, it shouldn't…
0
votes
1 answer

Experimental data organization - would Elastic Search work?

Sorry if this is a bit of an abstract question, I'll try to provide more details. I run "experiments" (eg test runs of various software), each experiment has its own set of metadata (basically key/value pairs, like start time, end time, name,…
persson
  • 129
  • 2
  • 8
0
votes
0 answers

Elasticsearch 5.4 Node/Shard/Replica Set Up

Is it possible to set up Elasticsearch in a way that you can take a small index (around 100MB or so) and configure a cluster so that all data in that index is available, in whole, on every node in the cluster? Basically we're looking to leverage…
Craig Koster
  • 496
  • 5
  • 15
0
votes
2 answers

ElasticSearch 5: MapperParserException while Inserting data

My initial mapping was { "vehiclemodel": { "properties": { "price": { "type": "double" } } } } Later I updated the mapping with below { "vehiclemodel": { "properties": { "price": { "type":…
0
votes
1 answer

ElasticSearch: Aggregation over nested array

I have some documents that look like this { "reg": "a", "timestamp": "2012-10-01T00:06:35+0000", "data": [ { "d": 33.2, "name": "TEMP", }, { "d": 129, "name":…
dao hodac
  • 361
  • 2
  • 5
  • 14
0
votes
1 answer

Elasticsearch query results different when moving from 1.7 to 5.4

I am upgrading an Elasticsearch instance from 1.7 to 5.4.3, and noticed that the search results are different between the two systems, even when using the same query. Elasticsearch 1.7 query { "query": { "filtered": { "query": { …
mnd
  • 2,709
  • 3
  • 27
  • 48
0
votes
1 answer

Restrict the content in email notification from ElastAlert

Currently, I have setup email notification from elastalert. In the email body, it prints all the details of the particular document. I want to restrict it to print only specific term and values from the match.
Dheeraj
  • 297
  • 1
  • 5
  • 17
0
votes
1 answer

ElasticSearch 5.3 filterer char_filter. pattern_replace not working

I have a requirement where I need to query docs by phone number. Users can enter characters such as parenthesis and dashes in the search query string and they should be ignored.So, I have created a custom analyzer that uses a char_filter which in…
milagvoniduak
  • 3,214
  • 1
  • 18
  • 18