elasticsearch-2.0 Questions

8

I'm using elastisearch using Python. My code looks somewhat like this:- from elasticsearch import Elasticsearch if __name__ == '__main__': index="IndexPosition" es=Elasticsearch(['htt...

2

Solved

How do I check whether an index exists or not using a python query? I'm passing my index as a variable assigned outside the query as :- i=int(datetime.datetime.now().strftime('%d'))+1 indextring...

2

Solved

The example at https://www.elastic.co/guide/en/elasticsearch/guide/current/shingles.html mentions that the standard filter for stopwords introduces a negative effect when searching with shingles, d...
Carburet asked 23/2, 2017 at 12:35

3

You have an Elasticsearch index with two docs: [ { "_index": "myIndex", "_type": "myType", "_id": "es1472002807930", "_source": { "animal": "turtle", "color": "green", "weight": 20, } },...
Joaniejoann asked 24/8, 2016 at 2:10

3

Solved

Starting from version 2.0 Elasticsearch binds only on the loopback interface by default (_local_ in terms of configuration). The documentation says that there is a way to switch to another networ...
Bengurion asked 29/10, 2015 at 11:7

2

Solved

My operation: parent: country, child: branch, grandchild: employee PUT /company { "mappings": { "branch": { "_parent": { "type": "country" } }, "employee": { "_parent": { "type": "bran...
Underpinnings asked 12/11, 2015 at 11:8

1

I have elastic search documents with structure like this: { "name": "item1", "storages": [ {"items": ["a", "b", "c", "d", "e", "f"]}, {"items": ["a 1", "b 2", "c 3", "d 4", "e 5", "f 6"]}] } ...
Kung asked 26/7, 2016 at 10:9

1

Solved

We've discovered some duplicate documents in one of our Elasticsearch indices and we haven't been able to work out the cause. There are two copies of each of the affected documents, and they have e...
Filibertofilibuster asked 2/11, 2017 at 18:36

3

Solved

I tried to create Kibana and Elasticsearch and it seems that Kibana is having trouble identifying Elasticsearch. Here are my steps: 1) Create network docker network create mynetwork --driver=br...
Emmet asked 31/10, 2016 at 11:33

2

I already ready this article https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html but couldn't figure it out myself. lets have these two queries: firs...
Taxidermy asked 14/2, 2016 at 15:59

2

I'm going to use elastic search for my ruby on rails project. I get this error when I search some of the word that It's used in my article too much. NoMethodError (undefined method `highlight' for...
Friedrick asked 18/4, 2017 at 6:6

4

Solved

I am trying to upgrade to ES 2.0. I have downloaed ES 2.0 and installed it on my Windows machine. In my pom.xml, I have the following: <dependency> <groupId>org.elasticsearch</gr...
Webb asked 30/10, 2015 at 6:48

2

Solved

I am new to Kibana and need some help. I can draw this line chart for a single query (java): Now I would like to another line for another query (for example python) in the same chart. I am not...
Wilsey asked 3/12, 2016 at 20:5

1

Solved

Sample documents: { "id": "62655", "attributes": [ { "name": "genre", "value": "comedy" }, { "name": "year", "value": "2016" } ] } { "id": "62656", "attributes": [ { "name": "genre...
Expectorate asked 20/9, 2016 at 9:43

0

Is there a way to do following post_filter query valid? I've tried different ones: _score, score, doc.score, doc._score, _source.score etc. nothing is working. I believe there should be some soluti...
Cicily asked 23/8, 2016 at 16:19

1

Solved

I'm using Elastic search with Python. I can't find a way to make insensitive search with accents. For example: I have two words. "Camión" and "Camion". When a user search for "camion" I'd like the...
Surprise asked 19/7, 2016 at 8:8

3

Solved

I have an elasticsearch v2.x cluster with a "tags" index that contains about 5000 tags: {tagName, tagID}. Given a string, is it possible to query the tags index to get all tags that are found in th...
Behavior asked 17/6, 2016 at 20:11

2

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,...
Anlage asked 18/2, 2016 at 22:27

0

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.ClassNotFoundE...
Eberly asked 28/1, 2016 at 17:16

2

Solved

I'm trying to get Elasticsearch 2.0 up and running in a Vagrant VM. The method I was using for 1.7 no longer works, so I'm trying to update my method. I can get ES 2.0 installed in the VM, and it s...
Fisc asked 31/10, 2015 at 16:35

1

Solved

Short version: Is it somehow possible to obtain the functionality delivered by highlight_query for the highlighting of inner_hits results? Long version: Please consider the following mapping: { ...
Liberate asked 11/12, 2015 at 10:50

2

Solved

I started to use Elasticsearch 2.0. I have a plugin for Elasticsearch but cannot install it on new version 2.0. It gives an error: /Downloads/elasticsearch-2.0.0/bin$ ./plugin install file:///home...
Refrigerator asked 5/11, 2015 at 7:33

1

I am new with elasticsearch so pardon me if my question is stupid. I am try to run it with docker. After i pulled elasticsearch image from docker hub, i ran it with command: docker run -p 9200:920...
Reconcilable asked 31/10, 2015 at 4:56

1

Solved

Since the configuration of path on the _id field of a specific mapping is deprecated (as noted in the documentation here), How can I set the _id field for a specific document in elasticsearch 2.0...
Unlucky asked 1/9, 2015 at 14:50
1

© 2022 - 2024 — McMap. All rights reserved.