Questions tagged [elasticsearch-2.0]

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

Elasticsearch 2.0 takes huge strides forward in terms of speed, security, scalability, and hardware efficiency. It introduces a host of new features, including powerful new aggregations to do more analytics, cluster state diffs to support even larger clusters, compatibility with 2.0 versions of Shield (security), Marvel (monitoring), Watcher (alerts), and more.

345 questions
4
votes
2 answers

Kibana : Is there a way to get dashboards from command line?

In Kibana Settings/Objects menu, i can see all of my dashboards, charts and searches. I can choose to export one or more of them and then i get a JSON object representing that item. Is there a way to do this from command line? Where are the…
AbtPst
  • 7,778
  • 17
  • 91
  • 172
4
votes
2 answers

Asking for significant terms but returns nothing

I am having an issue with Elasticsearch (version 2.0), I am trying to get the significant terms from a bunch of documents but it always returns nothing. Here is the schema of my index : { "documents" : { "warmers" : {}, "mappings" :…
VinL
  • 51
  • 3
3
votes
1 answer

Terms failed to parse field size Error when aggregating with two terms in elastic search

I want to aggregate on two terms, user and event and I want to fetch count of each event per user. I have tried following code. But I am getting the error message in second last line that: RequestError: TransportError(400, 'parsing_exception',…
3
votes
2 answers

Configure an ELK cluster in docker containers

I'm trying to configure an ELK cluster using 2 docker containers. I'm using the following image: es241_l240_k461: Elasticsearch 2.4.1, Logstash 2.4.0, and Kibana 4.6.1. (reference: https://hub.docker.com/r/sebp/elk/ ) I have created 2 docker…
3
votes
1 answer

ElasticSearch order by number of matches in nested fields

Complete beginner here, quite possibly trying to do the impossible. I have the following structure that I would like to store in Elasticsearch: { "id" : 1, "code" : "03f3301c-4089-11e7-a919-92ebcb67fe33", "countries" : [ { …
Robert
  • 33
  • 2
3
votes
2 answers

ElasticSearch get only document ids, _id field, using search query on index

For a given query I want to get only the list of _id values without getting any other information (without _source, _index, _type, ...). I noticed that by using _source and requesting non-existing fields it will return only minimal data but can I…
Christophe Roussy
  • 16,299
  • 4
  • 85
  • 85
3
votes
1 answer

Set up Elasticsearch suggesters that can return suggestions from different data types

We're in the process of setting up Amazon Elasticsearch Service (running Elasticsearch version 2.3). We have different types of data (that I'm currently thinking of as different document types within the same index). We have a generic search in an…
Roy Solberg
  • 18,133
  • 12
  • 49
  • 76
3
votes
1 answer

Elasticsearch not analyzed field

I have an analyzed field which contains the following: 'quick brown foxes' and another one which contains: 'quick brown fox'. I want to find those documents which explicity contains 'foxes' (not fox). As I know I have to create a multi-field with an…
maestro
  • 671
  • 1
  • 13
  • 27
3
votes
1 answer

Special characters on query_string in elasticsearch

Assuming I have an Index & I added to it a document, by this statement: POST /temp/item { "text": "dave@domain.com dave@do-main.com one,two three:four" } I would like some query statements to return this document, for…
Shai Ben-Dor
  • 533
  • 9
  • 21
3
votes
1 answer

Elasticsearch - How can I preserve uppercase acronyms while using the lowercase filter?

In Elasticsearch 2.x, how would I distinguish the acronym "CAN" from the common English word "can" while still using the "lowercase" filter in my analzyer (used so searches are case-insensitive)? The custom analyzer I'm using is: "analyzer": { …
Redtopia
  • 4,947
  • 7
  • 45
  • 68
3
votes
1 answer

Elasticsearch NEST 2.0 unable to delete object by ID

I'm unable to delete an object from an index by its ID. I've tried solutions in the following: ElasticSearch and NEST: How do you purge all documents from an…
joelc
  • 2,687
  • 5
  • 40
  • 60
3
votes
1 answer

Why won't a put call to the elasticsearch /_cluster/settings endpoint respect an update of settings?

I'm running Elasticsearch 2.3.3, and am looking to set up a cluster so that I can have a simulation of a production ready set up. This is set up on two Azure VMs with docker. I'm looking at the /_cluster/settings api, to allow myself to update…
J Robson
  • 149
  • 2
  • 12
3
votes
2 answers

Is it possible to map Elastic document ID value to a field in your mapping

I know its possible to map your personal id so that the document id would be the same as your personal id, but is it possible to have it other way around ? How to map document id value to a property in your mapping ? Answers could be preferably…
nlv
  • 791
  • 7
  • 28
3
votes
1 answer

ElasticSearch failed to find analyzer?

I configured my global custom analyzer in elasticsearch.yml,here is my configuration: index : analysis : analyzer : titleAnalyzer : type : custom tokenizer : ik_max_word filter : [titleSynoymFilter,…
Folyd
  • 1,148
  • 1
  • 16
  • 20
3
votes
0 answers

Elasticsearch/Kibana: Is there a way to automatically install plugins?

So if I want to install any plugins, I have to run the Kibana plugin command. It's a bit cumbersome as I have to install each plugin individually. Can I specify just the names of the plugins somewhere and when Kibana starts up, it will automatically…
AbtPst
  • 7,778
  • 17
  • 91
  • 172
1 2
3
22 23