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

What DSL Query to use in ElasticSearch?

I use PHP library for ElasticSearch. I have added documents in index as: $document = array('name' => 'Bob', 'family' => 'Bobsters', 'car' => 'Mersedes'); What kind of query I need to use if I want to get search result after entered symbol: B. It…
Babaev
  • 101
  • 10
0
votes
0 answers

How to configure elasticsearch PHP client?

Now ElasticSearch gives results if query is more then 2 symbols. How to configure elasticsearch php that search works after minimum 1 entered symbol? This is example of sourse: { "_index": "users", "_type": "profiles", "_id": "7", "_version":…
Babaev
  • 101
  • 10
0
votes
2 answers

Forcing filter execution in ElasticSearch

Is there a way to force a (query) filter to be executed for every query irrespective of whether or not it is present in the search query request? In my case, I have a native search script which is used to filter documents based on a dynamically…
MAC
  • 3
  • 1
0
votes
1 answer

Getting SearchPhaseExecutionException using ElasticSearch Java Client

I am using a filtered query with sort. When i run the query using the browser plugin, it runs fine. But when i use java client that ships with ElasticSearch, i get error org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to…
snegi
  • 636
  • 1
  • 6
  • 22
0
votes
0 answers

Elasticsearch search like query search from index searching

{ "_index": "shiv", "_type": "bomsankar", "_id": "AU6xh_h_1wCutPkm0XxN", "_score": 68.16099, "_source": { "grp_id": 45110, "img":…
RITESH NAG
  • 53
  • 1
  • 3
  • 8
0
votes
3 answers

Indexing data from HDFS to Elasticsearch via Hive

I'm using Elasticsearch for Hadoop plugin in order to read and index documents in Elasticsearch via Hive. I followed the documentation in this page: https://www.elastic.co/guide/en/elasticsearch/hadoop/current/hive.html In order to index documents…
orlevii
  • 427
  • 4
  • 10
0
votes
1 answer

Elastic search DSL Syntax equivalence for SQL statement

I'm trying to replicate the below query logic in an elastic search query but something's not right. Basically the query below returns one doc. I'd like either the first condition to be applied: "name": "iphone" OR the more complex second one which…
Horse Voice
  • 8,138
  • 15
  • 69
  • 120
0
votes
1 answer

Any way to set alerts if logstash is not sending data

Is there any service or tool or setup that will help me to set up alerts if logstash is not sending data to the elasticsearch? Can cloudwatch-aws can be customized for that or there is any policy in new relic or any other tool that would help?
0
votes
2 answers

Elastic search with Arrays of multiple fields

I have data of the form { "Name": "Bolognaise, tomato, olive and feta tart" "Prep Time": 20, "Cook Time": 25, "Servings": 4, "Ingredients": [ { "name": "puff pastry", …
user459
  • 111
  • 8
0
votes
1 answer

Will updating "_mappings" reflect any changes in Indexed data in Elastic search

I didn't found any change in my search result even after updating some fields in my index[_mapping]. so i want to know that "Will updating "_mappings" reflect re-indexing data in Elastic search" [or] "only data inserted after updation will effect…
Pavan Kumar Varma
  • 1,413
  • 1
  • 14
  • 22
0
votes
1 answer

Aggregation value error in Elastic Search

I am trying to create a Date Histogram and aggregate a particular field to find the maximum value which is of long type in mapping from my ealsticsearch, but i get the result in floating point number, for example : Instead of getting 31032832 am…
Sushil Ks
  • 403
  • 2
  • 10
  • 18
0
votes
1 answer

Missing mapping/type for elasticSearchService when indexed via low level

I have created index and some data in map and assigned that a type by using elasticsearch-grails-plugin https://grails.org/plugin/elasticsearch, via low level api, but when I try to perform a search using elasticSearchService.search() and specify by…
sufyan.shoaib
  • 1,117
  • 9
  • 19
0
votes
1 answer

Logstash-forwarder can't connect to logstash-server after installing watcher plugin on Elasticsearch - shows TLS handshake error

I followed this tutorial and the setup worked just fine. Then I installed watcher plugin for ES from this official documentation to get alerts and emails for errors but I was not able to verify the the installation using the following command as…
0
votes
1 answer

How to display "ALL" the nested documents in an object in separate rows from elasticsearch?

I have a nested object in the following form: { "name": "Multi G. Enre", "books": [ { "name": "Guns and lasers", "genre": "scifi", "publisher": "orbit" }, { "name": "Dead in the night", "genre":…
Aditi Ananya
  • 73
  • 1
  • 1
  • 7
0
votes
1 answer

Custom Analyzer not working Elasticsearch

{ "_source": { "enabled": false }, "analysis": { "analyzer": { "default": { "type": "custom", "tokenizer": "uax_url_email", "filter": "lowercase,standard,stop" } } }, "mappings": { …
Akshat
  • 11
  • 1
  • 5