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

Elasticsearch query plugin

I'm upgrading an Elasticsearch plugin from version 2.4.0 to 5.4.0. This plugin implements a custom query but with the new changes on Elasticsearch Java Api I'm a little confused in how to register the new query. I search in Elasticsearch site and I…
3
votes
3 answers

How to run Elasticsearch 5.2.1 as root user in linux machine

I am trying to run Elasticsearch 5.2.1 in my linux machine which I am the root user of it. When I tried to execute the Elasticsearch. I am getting the following error, [2017-03-15T03:26:18,976][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler]…
Mangoski
  • 2,058
  • 5
  • 25
  • 43
3
votes
1 answer

Elasticsearch 5 how to start writing a native Java plugin

I am currently trying to write an Elasticsearch plugin (mainly for testing purposes), and I am struggling with the documentation which simply states: These examples provide the bare bones needed to get started. For more information about how to…
Adonis
  • 4,670
  • 3
  • 37
  • 57
3
votes
0 answers

Intercepting aggregation query in elastic search

I am investigating elastic search now and I like to get some insights on the possibility of certain things. Any suggestions would be greatly appreciated. I'm trying to tackle a very specific use case as follows: I want to run a entitlement check on…
3
votes
0 answers

Elasticsearch Ingest Attachment in PHP is not working

Searching is not working in Ingest Processor in ElasticSearch Here is the mapping code public function ingest_processor_mapping() { $client = \Elasticsearch\ClientBuilder::create()->build(); $params = [ 'id' => 'attachment', …
3
votes
1 answer

Elasticsearch user clicks feedback

In a search engine made with Elasticsearch what is the best solution for considering user clicks on result items to improve the scores of the documents with more user impressions ? is there any tools or plugins ready to use or is should write it…
javad helali
  • 270
  • 2
  • 13
3
votes
0 answers

How to construct Elasticsearch 'Searchhit' object from a JSON string in JAVA

I'm using Elasticsearch 5.1.1 in my project. After I send a search query via RESTful API, I can get a result JSON string from the cluster. I'm wondering if there is a convenient way to convert that JSON string to a Java object(such as SearchResponse…
Trams
  • 239
  • 1
  • 3
  • 11
3
votes
1 answer

ES-v5.0.1 throw java.lang.SecurityException while snapshot

Elasticsearch version:v5.0.1 Plugins installed: [repository-hdfs] JVM version: java version "1.8.0_92" Java(TM) SE Runtime Environment (build 1.8.0_92-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode) OS version: CentOS release…
ervin
  • 31
  • 3
3
votes
3 answers

ElasticSearch - How to make a 1-to-1 copy of an existing index

I'm using Elasticsearch 2.3.3 and trying to make an exact copy of an existing index. (using the reindex plugin bundled with Elasticsearch installation) The problem is that the data is copied but settings such as the mapping and the analyzer are left…
Boris Milner
  • 111
  • 2
  • 10
3
votes
1 answer

Find and replace in elasticsearch all documents

I wanted to replace the single username in all my elasticsearch index documents. Is there any API query ? I tried searching multiple but couldn't find. Any one has idea? My scenario: curl -XPOST 'http://localhost:9200/test/movies/' -d…
3
votes
2 answers

Integration of kibana in custom application

i am very new to EKL Stack and for my project we have requirement to integrate kibana in our custom applications dashboard. So we are capturing the data through logstash and able to see it in kibana . But for our requirement we have to integrate…
user3718420
  • 151
  • 1
  • 3
  • 14
3
votes
2 answers

Cannot Transform Correctly with Elasticsearch Watcher {{ctx.payload.hits.hits}}

I have a watcher configuration as follows: { "trigger": { "schedule": { "interval": "5s" } }, "input" : { "search" : { "request" : { "indices" : [ "my_index" ], "types" : [ "my_type" ], "body" :…
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

Elastic mapper-attachments does not extract text from Office documents

I recently try to test mapper-attachments plugin for Elastic Search. Here are my very basic mappings in Elastic : PUT /test PUT /test/docs/_mapping { "docs": { "properties": { "file": { "type": "attachment", "fields": { …
bosswhale
  • 31
  • 2
3
votes
1 answer

Elasticsearch Get the values of a field from all the documents

I'm trying to get the values of a field from all the documents. I tried the following without setting the id, in hopes that it would returns all the results, however, it objected and gave an error that I had to set the ID, which resulted in…
hello_its_me
  • 743
  • 2
  • 19
  • 52