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 and searching on multiple fields in PHP

I am using the latest version of elasticsearch-php as well as the latest version of MongoDB and ElasticSearch. I need to do a search on multiple fields that can contain one or multiple values. Example: country_code should be either NL, BE or…
Marc Witteveen
  • 743
  • 2
  • 10
  • 25
2
votes
0 answers

Using insecure protocols with repositories, without explicit opt-in, is unsupported

I am using gradle 4.8. I want to create an elasticsearch plugin. I am using jdk9. The elasticsearch version, I am using is 5.6.16. When I clicked on the build button inside intellij idea, It is giving me the below error: Could not resolve all…
2
votes
0 answers

Fetch index name from alias during ingest in elasticsearch ingest plugin java

I am using Elasticsearch v7.9 and need to get index name during ingest instead of alias name. Alias name = employees_prod and Index Name = employees POST /employees_prod/_doc?pipeline=test-pipeline&refresh { "name": "Quick Brown Fox", …
2
votes
0 answers

how to restrict access to documents in elasticsearch?

I'm designing a solution and want to leverage some of Elasticsearch's query capabilities (version 7.x). We are expected to have around 10M documents per index. Documents might have different 'associations' to what we call 'users' (not necessarily…
2
votes
0 answers

LTR plugin of elasticsearch not working on elastic cloud

While trying to use LTR plugin of elasticsearch by making a PUT request to _ltr to initialize the , Ref - https://elasticsearch-learning-to-rank.readthedocs.io/en/latest/index.html on elastic cloud , It gives back an error saying - { "status":…
2
votes
1 answer

Elastic Search Score Calculations

I am migrating from ES 1.7 to ES 6.5. The data sources is common but when I search any particular keyword it returned different scores and resulting into returning different set as one with max score is selected. I used '_explain' in elastic to…
2
votes
0 answers

How to ingest .doc / .docx files in elasticsearch?

I'm trying to index word documents in my elasticsearch environment. I tried using the elasticsearch ingest-attachment plugin, but it seems like it's only possible to ingest base64 encoded data. My goal is to index whole directories with word files.…
2
votes
0 answers

Duplicate logs in Kibana after fingerprints

I have been getting duplicate logs for every API hit in Kibana, so I added the fingerprint plugin to provide unique ids for the same. Following is the segment I added in my logstash configuration.. logstash.conf ... filter { fingerprint { …
2
votes
1 answer

How to get the word boundary in ZZ_CMAP_PACKED?

I am trying to write my first Elasticsearch Analysis Plugin, and I found a Extensiable Standard Analyser Plugin project from github:elasticsearch-analysis-standardext, in the project it provides codes below: /** * Word Boundary "character…
2
votes
1 answer

How to visualize Elasticsearch excuted queries history

Hello Elasticsearchers, I am new with Elasticsearch, I search a proposition to allow me debug the excuted queries because I am working with an elasticsearch PHP API so I want to visualize the body of excuted queries by Elasticsearch. I tried that…
2
votes
1 answer

Couchbase/Elasticsearch connector for multiple buckets

Is there a way to replicate 2 or many couchbase buckets to elasticsearch using a single configuration file? I actually use this version of the couchbase elasticsearch connector: https://docs.couchbase.com/elasticsearch-connector/4.0/index.html I do…
2
votes
0 answers

Is ES native SQL parsed as ES DSL (json query)? How to get the parsing time?

I want to know whether Elasticsearch native SQL will be parsed as Elasticsearch DSL (json query)? And how to get the parsing time?? I found a link about that. An Introduction to Elasticsearch SQL with Practical Examples - Part 1 You can find a…
2
votes
0 answers

Elasticsearch - Best way to trim results by score?

Some of my search results returns a total of over 10k documents, varying from a high score (in my most recent search, ~75) to a very low score (less than 5). Other queries return a high score of ~20 and a low score of ~1. Does anyone have a good…
JR3652
  • 435
  • 1
  • 4
  • 13
2
votes
1 answer

Setting up a basic plugin with gradle

I'm trying to setup a basic elasticsearch plugin with gradle that follows this example. I realized the build.gradle file in the repo is not sufficient (for some reason) so this is my current build.gradle file plugins { id 'java' } group…
ninesalt
  • 4,054
  • 5
  • 35
  • 75
2
votes
1 answer

ElasticSearch URI Search null field

I need to create a query via URI to filter all data between two dates and also if this date field is null. For example: I have the field "creation_date" in some objects, however I want that in the resulting also does not appear the objects that the…