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
0 answers

Replace specific words with a dictionary

i have to store a simple document like: {content : "The cat is mine"} but before indexing i should replace (tag) specific words, "cat" is one of them. The result (indexed document) should be: {content : "The cat is mine"} I read…
Dail
  • 4,622
  • 16
  • 74
  • 109
3
votes
2 answers

How to install a plugin for the elasticsearch kubernetes cluster

I have a working kubernetes cluster with the elasticsearch up and running returning a 200. I am trying to install the HQ plugin. So i log into the node running the es-client, and attach to the docker container. When i execute the command / #…
winn j
  • 442
  • 3
  • 17
3
votes
1 answer

Is it possible to return virtual fields in a search result in elasticsearch

I am wondering if it is possible to return virtual fields somehow in an elasticsearch query, via arguments or the document mapping. Currently I am trying to use elasticsearch-langdetect plugin for the detection of content languages. It creates…
Paul Weber
  • 6,518
  • 3
  • 43
  • 52
3
votes
1 answer

Indexing in elasticsearch example?

I read tutorial about indexing documents in Elasticsearch. There is example with bulk indexing. I have question, is it correct when is created array with two key for one item in the loop: for($i = 0; $i < 100; $i++) { $params['body'][] = array( …
Babaev
  • 101
  • 10
3
votes
1 answer

Elastic Search Nested Query with Nested Object

This is the type of data I have stored on my index in elastic search. I have to find Recipes with Main Ingredient Beef(and weight less than 1000) with Ingredients -(chilli powder and weight less than 250),(olive oil & weight less than 300 )and…
3
votes
0 answers

Callback/ hook which when document in elasticsearch is updated

Just as the title described, I want to define a callback/hook that can be invoked when a document is updated. What i want is to get the document data before and after updated.I did some investigation and i think maybe i can do it through the…
kevinjom
  • 343
  • 2
  • 15
3
votes
2 answers

Stopwords/synonyms/etc file for ElasticSearch

I used to work with Solr and it would have configuration folder that would contain stopwords, synonyms, etc files. Every time you would make a change, you can use Zookeeper to download conf file and then upload it and distribute it across all…
krinker
  • 1,072
  • 1
  • 9
  • 23
3
votes
1 answer

Elasticsearch returns IndexMissingException

I'm trying to implement a search engine in node.js using elasticSearch + mongoose which is elmongo. Whenever i try to run a search api i get "error": "IndexMissingException[[ads] missing]" Here's the code advertisingSchema.js var mongoose =…
airsoftFreak
  • 1,450
  • 5
  • 34
  • 64
3
votes
1 answer

Kibana 4,maps not showing specific areas

In Kibana 3, I was able to use three types of maps US,Europe and the World Map. But in the Kibana 4,I can only see a wolrd map version. For my data purposes I need to have only the US one. Can anybody help me on this?.
user3106316
3
votes
1 answer

How to use custom analyzer in ElasticSearch?

I wanted to try Elasticsearch with Polish language support, but I have some problems with it. I installed Stempel Analysis Plugin, I'm trying to create an index that uses Polish analyzer: curl -XPUT localhost:9200/polisz -d '{ "mappings" : { …
zarzyk
  • 694
  • 4
  • 18
3
votes
1 answer

How to index couchdb from elasticsearch server with the help of elasticsearch river plugin and hence get JSON data

I am working on graphical representation of data. The graph accepts JSON data,hence I need to fetch the required data from couchdb. I am using elasticsearch server for indexing couchdb and hence retrieve required data. I am using elasticsearch…
Kranti123
  • 199
  • 2
  • 3
  • 14
3
votes
1 answer

Elasticsearch River - java.lang.String cannot be cast to java.util.Map

I am trying to create a Elastic search river for my MongoDB. I am using elasticsearch-mapper-attachments and elasticsearch-river-mongodb plug-ins. The issue I have is I get a complaint about java.lang.String cannot be cast to java.util.Map Here is…
dman
  • 10,406
  • 18
  • 102
  • 201
3
votes
2 answers

Elasticsearch subset filter

I have a dataset about books, each of which can be in one or more languages. Every user is registered as having one or more languages. When a user searches for books, I'd like to return only those books where they understand all of its…
Ryan Kohl
  • 63
  • 2
  • 9
3
votes
1 answer

Parent Child Document Mapping in ElasticSearch via AWS SQS Plugin

Does the AWS SQS River Plugin for elasticsearch support the _parent field during indexing? If so, how? The documentation is not clear and I've tried both of the following: { "_id": "123", "_parent":"parent_id" "_index": "es_index_name", "_type":…
3
votes
1 answer

CRATE 0.28.0.1 and elasticsearch-cloud-aws plugin compatibility

We are going to use CRATE with elasticsearch-cloud-aws plugin for ES to create backups. It looks like current version 0.28.0.1 (from deb package) has an issue with run time environment for aws plugin. It says: {1.0.1}: Initialization Failed ... -…
Vlad Vlaskin
  • 110
  • 8