Questions tagged [elasticsearch]

Elasticsearch is a free and open, distributed, RESTful search engine based on Lucene.

Elasticsearch is a free and open, distributed, RESTful search engine based on and developed in .

Together, , , and are commonly known as the . With the addition of Beats, a free and open platform for single-purpose data shippers, the ELK Stack is now known as the Elastic Stack.

Elasticsearch is a distributed, scalable, and multitenant-capable full-text search engine with a RESTful web interface and schema-free documents. It is also document-oriented and includes various APIs, such as native Java and HTTP RESTful. Elasticsearch supports both schema on read and schema on write on the same data, providing speed an

Elasticsearch allows you to choose to store data locally for fast search or store remotely on object-based storage such as for lower-cost options.

Elasticsearch comes with various text preprocessing algorithms, allowing users to set up custom or predefined multilingual analyzers to improve search relevance.

Official clients are available in , , , , , , , and many other languages.

Latest stable releases:

Elastic is the parent company of the Elasticsearch product.

58010 questions
9
votes
2 answers

Is it possible to get contents of copy_to field in Elasticsearch?

I'm using Elasticsearch v2.3.0. Suppose I have an index with mapping: { "mappings": { "post": { "dynamic": false, "_source": { "enabled": true }, "properties": { "text": { "norms": { "enabled": false …
ov7a
  • 1,497
  • 4
  • 15
  • 34
9
votes
1 answer

Group by date and category elasticsearch query

I have a index in elasticsearch and have imported below json file: {"index" : {"_id": "1"}} {"Name": "apple","Type": "fruit","Rate": "64","Date": "2016-01-24"} {"index" : {"_id": "2"}}`enter code here` {"Name": "grape","Type": "fruit","Rate":…
Vaibhav
  • 303
  • 1
  • 3
  • 9
9
votes
1 answer

'Cannot switch to old mode now' Error in Elasticdump

I tried backing up and restoring an index to json in Elasticsearch using elasticdump (on Node.js): [Backup] elasticdump --input=http://cred:entials@myserver.com:9200/.kibana --output=kibana.json --type=data (Works) [Restore] elasticdump…
Phil B
  • 5,589
  • 7
  • 42
  • 58
9
votes
3 answers

Validation Failed: 1: mapping type is missing; in elasticsearch

I'm was an error same this questuion. As the answer of this question i'm trying to set correct url to PUT index mapping, but it's not work on my instance: $ cat mapping.json | http PUT myhost:9200/acastest/_mapping result: HTTP/1.1 400 Bad…
Vahid Kharazi
  • 5,723
  • 17
  • 60
  • 103
9
votes
1 answer

Nest Elasticsearch, combining bool query of Must and Should

I want to filter a group of documents by Year, Format and Content. n pseudo-SQL: SELECT * FROM /test/document WHERE ((format=f1|| format=f2||...|| format=fn) AND (Year!=2013 AND Year!=2015) AND (content like %c1% || content like %c2% ||...||…
Mahsa
  • 341
  • 3
  • 17
9
votes
2 answers

Kibana : Cannot query with regex having space

I have a field as author Jason Pete Jason Paul Mike Yard Jason Voorhies in kibana 4.4 i am querying as author:/Jason.*/ so i get all records for Jason Pete Jason Paul Jason Voorhies fine, now i want to do author:/Jason P.*/ i expect Jason…
AbtPst
  • 7,778
  • 17
  • 91
  • 172
9
votes
1 answer

Kibana: joining two documents in table visualization

I have a data table visualization displaying fields from documents that have an email address and an id: timestamp | email | field_id Feb 5th jdoe@gmail.com xyz123 These fields belong to the same elastic document.…
Loic Duros
  • 5,472
  • 10
  • 43
  • 56
9
votes
2 answers

Elasticsearch match substring in php

Below given is my code to generate index using elasticsearch.Index is getting generated successfully.Basically I am using it to generate autosuggest depending upon movie name,actor name and gener. Now my requirement is, I need to match substring…
Dinesh Belkare
  • 639
  • 8
  • 24
9
votes
1 answer

Elasticsearch to index RDBMS data

These are three simple questions which was surprisingly hard to find definite answers. Does ElasticSearch support indexing data in RDBMS tables ( Oracle/SQLServer/Informix) out of the box? If yes, can you please point me to documentation on how to…
Ishan Hettiarachchi
  • 1,426
  • 2
  • 19
  • 31
9
votes
0 answers

Elasticsearch optional maven depdendencies

I am using Elasticsearch 2.1. When I start up the system, I get several exceptions about failing to load classes related to scripting. For example, failed to load mustache java.lang.ClassNotFoundException: com.github.mustachejava.Mustache I can…
Mike
  • 1,791
  • 1
  • 17
  • 23
9
votes
1 answer

In elasticsearch, how to group by value inside nested array

Say, I have following documents: 1st doc: { productName: "product1", tags: [ { "name":"key1", "value":"value1" }, { "name":"key2", "value":"value2" } ] } 2nd doc: { productName: "product2", tags: [ …
Christina.Y
  • 93
  • 1
  • 3
9
votes
4 answers

Ubuntu - elasticsearch - Error: Cannot allocate memory

I'm trying to install elasticsearch on my local Ubuntu machine following guide at: https://www.elastic.co/guide/en/elasticsearch/reference/current/_installation.html , and when try to run './elasticsearch', got following error: Java HotSpot(TM)…
Nemilenko
  • 353
  • 2
  • 3
  • 9
9
votes
1 answer

Elastic bulk error: failed to parse

I tried posting a _bulk post into elastic search, but it throws: { "took": 1, "errors": true, "items": [ { "index": { "_index": "quick", "_type": "parts", "_id": "ACI250-2016", …
Jared Dunham
  • 1,467
  • 2
  • 17
  • 29
9
votes
1 answer

Performance impact of using a string of length 100 characters as _Id column in Elastic Search

I am planning to store events in elastic search. It can have around 100 million events at any point time. To de-dupe events, I am planning to create _id column of length 100 chars by concatenating below fields entity_id - UUID (37 chars) +…
Harish
  • 7,589
  • 10
  • 36
  • 47
9
votes
1 answer

DELETE all documents of a type in ElasticSearch 2.x

I've updated ElasticSearch to 2.1 version. Before of that, I deleted every document in a type using: curl -XDELETE '://' -i curl -XDELETE 'http://ESNode01:9201/living/inputs' -i From now then, this is the…
Jordi
  • 20,868
  • 39
  • 149
  • 333
1 2 3
99
100