Questions tagged [elasticsearch-plugin]

Elasticsearch plugins are a way to enhance the basic elasticsearch functionality in a custom manner.

Elasticsearch Plugins are a way to enhance the basic elasticsearch functionality in a custom manner. They range from adding custom mapping types, custom analyzers (in a more built in fashion), native scripts, custom discovery and more.

See the Plugins documentation for more.

968 questions
4
votes
1 answer

Elasticsearch-py unrecognized 'analyzer' parameter in search()

The API Document says that search(*args, **kwargs) has a parameter called analyzer. But the following code raises an exception: RequestError:TransportError(400, 'illegal_argument_exception', 'request [/test-index/content-field/_search] contains…
4
votes
1 answer

X-pack failed to initialize a TrustManagerFactory

I have set up Elasticsearch, Kibana and X-pack according to installation guidelines and made sure that it worked as expected. Now I want to send a Kibana report using Watchers in X-Pack. I have followed this tutorial to setup secure reporting, but…
4
votes
0 answers

Elasticsearch not running with search guard

ES v2.4.1 SG-SSL v2.4.1.16 SG v2.4.1.6 CentOS 7.2 Im able to run Elasticsearch with Search-Guard-SSL. I generated the certs/keys via the example script from Search Guard. Here is the info on the kirk client cert that I generated > openssl x509…
Chris F
  • 14,337
  • 30
  • 94
  • 192
4
votes
1 answer

ElasticSearch / Python dynamic number of filters

I'm pretty new to programing so my question might be stupid/easy to do but: i need to create multiple filters in elasticsearch based on user input my body of query: body = { "query": { "filtered": { "filter": { …
Derpos
  • 41
  • 2
4
votes
0 answers

Recover accidentally deleted index without snapshot

I was trying to delete a particular record, but I have accidentally deleted the entire index(rnd_prod). Below is the code I used to delete. DELETE /rnd_prod/ { "query": { "ids": { "type": "rnd_prod", "values": [ …
pauljeba
  • 760
  • 2
  • 10
  • 27
4
votes
1 answer

elasticsearch won't work when using uppercase letters in query

I am using laravel 4.2. my database is mongodb. I have a table called products and a field in my db which is called brand that has a value of ABC in uppercase. When using this query ['term' => ['brand' => 'ABC']] the result set is empty. But when…
kriscondev
  • 765
  • 7
  • 21
4
votes
1 answer

Sync MySQL inserts, updates, and delete operations with ElasticSearch

Here is a rather common case for elasticsearch(ES): as ES is near realtime, we want to sync it with our MySQL as much close to real time as possible. The initial tables are imported into index and it is working fine, but now we need to track…
Cassius
  • 153
  • 1
  • 14
4
votes
0 answers

Search-guard not integrating with elasticsearch

My current version of elasticsearch is 1.5.2. I recently installed search-guard with the following command - bin/plugin -i com.floragunn/search-guard/0.5 . Before that I created an index with the following configuration - curl -XPUT…
Pavan R
  • 119
  • 2
  • 9
4
votes
0 answers

Query documents based on sum of nested fields - elasticsearch

I'm fairly new to Elastic and I've been trying to figure out if it is possible to query documents based on the sum or count of nested fields within them. All the research I've done so far would say that it's not, but maybe there's a way around it? I…
Tom Maitland
  • 568
  • 5
  • 17
4
votes
1 answer

Dynamic Filter Building in Elasticsearch

I am building API. I have id,name,price in elasticsearch. Client provides me input json with filters to be applied. Input 1: Below user is filtering records with id=1 (integer) { "filters": { "id":1 } } Input 2: User is querying…
4
votes
1 answer

Logstash not writing to Elasticsearch with Shield

I have been trying to make logstash write to elasticseach with shield without success. My setup was working nromally before installing the shield plugin to elasticsearch. I've followed this guide from elastic.co and created a new user for the…
4
votes
3 answers

Grails Elastic Search Plugin SEVERE: Unexpected transforming call sites grails elasticsearch

I'm trying to install the elastic search plugin (elasticsearch:0.0.4.4) on my Grails project (grails version 2.4.4) and after adding the plugin dependency and running the app (grails run-app) I get some rather severe errors. Stacktrace: Apr 02,…
rhl
  • 55
  • 2
  • 7
4
votes
1 answer

ElasticSearch in Spring with @Query

I have successfully created a query using ElasticSearch's _plugin/head interface. The query is meant to return the latest timestamp for a specific device at a specific location. The query looks as follows: { "query":{ "bool":{ …
4
votes
1 answer

How to insert data into elasticsearch from csv file using java

Is there a way by which I can parse csv files using java and then insert that data into elasticsearch so that I can render it and view it on kibana?? Are there any plugins or jars available for the same??
Sagnik Sinha
  • 873
  • 1
  • 11
  • 22
4
votes
1 answer

Sorting not working in elastic search

I am creating an index with elastic search and want to be able to sort on the "field" country_en (I might want to add another field later). However the sorting result is not correctly. A descending order would return Czech…