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
-1
votes
1 answer

How to write an Elasticsearch query involving contains-all-of, contains-one-of, contains-exactly and not-contains operations?

I have documents like this: { 'body': '', 'date': '', } I want to get documents with these conditions: body contains all of: ['a', 'b', 'c'] and contains one of: ['d', 'e', 'f'] and contains exactly these phrases: ['g h i', 'j k l'] and not…
ehsan shirzadi
  • 4,709
  • 16
  • 69
  • 112
-1
votes
1 answer

elasticsearch - can mix number and number array datatype in same index same type?

I created 2 documents of autogenerated test data in an index/type using: POST /mymixedata/lists-and-nums/ { "pat_first_name": "Balduin", "pat_last_name": "Goodbairn", "gender": "Male", "diag_codes": "T84028D", "prov_first_name": "Dwight", …
lampShadesDrifter
  • 3,925
  • 8
  • 40
  • 102
-1
votes
1 answer

Exact matches with match query on analyzed field not showing on top

I have a data set like below "hits": [ { "_index": "demotest", "_type": "demotest", "_id": "2", "_score": 1, "_source": { "name": "Duvvuri ram gopal reddy" …
-2
votes
1 answer

Elasticsearch inverted search query

I want to use elasticsearch to search among data that must be included in my search query. Example: { "query":{ "match":{ "field":"some data to be searched" } } } the following field should be returned because the…
Ahmed Hagag
  • 1
  • 1
  • 3
-2
votes
1 answer

Indexing a JSON file with multiple documents in elastic search

I am new to elasticsearch i want to index a JSON file and perform search queries from elasticsearch How can I index this json and perform queries to get value if i pass parameter as "field3.innerfield" : "someval" I have tried indexing this file…
Ranjeet
  • 1
  • 1
-2
votes
1 answer

Need help on converting Ruby function to Python function

I'm trying to create a Python function to convert the lists (Objects of arrays in ELK term) to dictionary. I found a sample Ruby function which does that and I'm trying to convert it to Python function for my usage. I'm finding hard time to get the…
Sakthi
  • 3
  • 2
-2
votes
1 answer

Elasticsearch full text search is too slow

I use elasticsearch for full text search. When query text is short then it works quickly but when query text is big (about 10-15 words) then it's very slow.
1 2 3
91
92