Questions tagged [elasticsearch-api]

Elasticsearch is a search server based on Lucene.

Elasticsearch is a search server based on Apache Lucene. It provides a distributed, multitenant-capable full-text search engine with a RESTful web interface and schema-free JSON documents. Elasticsearch is developed in Java and is released as open source under the terms of the Apache License. Elasticsearch is the second most popular enterprise search engine.

56 questions
6
votes
1 answer

Transitive Dependency: Using Elasticsearch Rest High Client problem in AEM

I am trying to use Java High Level Rest Client in Adobe Experience Manager to finish project of comparison between Lucene, Solr and Elasticsearch search engines. I am having some problems with elasticsearh implementation. Here is the…
Tadija Malić
  • 445
  • 7
  • 26
3
votes
1 answer

How to update value to null using Elasticsearch NEST APIs UpdateAsync method?

I'm using Elasticsearch NEST API (7.8.1) and I'm having trouble with using client.UpdateAsync method to update a value to null. Is there any workaround to solve this issue? Example model: public class ProductSalesHistory { public Id { get;…
Maksim
  • 111
  • 9
3
votes
0 answers

Elasticsearch synonym_graph filter not giving all tokens

I'm trying to use synonym_graph filter in the analyzer but it is not generating the result we need. This is my curl command to analyze text: curl -X GET "localhost:9200/_analyze?pretty" -H 'Content-Type: application/json' -d' { "tokenizer":…
2
votes
1 answer

Elastic Search Kibana PDF Report

0 I am trying to generate PDF reports and download them using a script. I followed below instructions. https://github.com/elastic/kibana/blob/master/docs/user/reporting/automating-report-generation.asciidoc I am able to queue the report and i also…
Rahuman
  • 21
  • 1
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

Elasticsearch combining multiple buckets and aggregations

Let's assume we're looking at data that's reasonably simple -- each document in our index has this structure: { "Time": "2018-01-01T19:35:00.0000000Z", "Country": "Germany", "Addr": "security.web.com", "FailureCount": 5, …
2
votes
0 answers

Elasticsearch match query and tokenization

I wrote the following query concerning a field that is tokenized by whitespace : "match" { "field" : { "query" : "bora" } } I have two documents that matches the query on my index, one with "bora" on that field, another with "bora…
eli0tt
  • 677
  • 1
  • 7
  • 19
2
votes
1 answer

ElasticSearch : Appending object in existing array of object Field

My field mapping: "Pincode": { "analyzer": "standard", "type": "string" }, "Residence_address": { "include_in_parent": true, "type": "nested", "properties": { "address": { …
1
vote
2 answers

Succeeded to take snapshot of closed Elasticsearch index with ignore_unavailable=false

According to the Elasticsearch Create snapshot API documentation, when creating a manual snapshot of a closed index with ignore_unavailable = false - the snapshot should fail: ignore_unavailable (Optional, Boolean) If false, the snapshot fails…
Amir M
  • 508
  • 1
  • 8
  • 28
1
vote
1 answer

Elasticsearch _cluster/stats api vs _stats API

I am a bit confused on why I would be getting a relatively drastic different amounts for each of this api calls for doc count (Primary and Total), shard amounts, and even the amount of indices. Does anyone know why these two API calls would return…
ColeGulledge
  • 393
  • 1
  • 2
  • 12
1
vote
1 answer

Elasticsearch SEARCH-API ignores some existing indices when searching with wildcards

I want to retrieve information about all available indices in my elasticsearch db. For that I send a request to "/logs-cfsyslog-*/_search/?format=json". The body of the request is irrelevant for this problem. I'm simple…
1
vote
1 answer

ElasticSearch API - update by query script params null_pointer_exception

I am new to the ElasticSearch and am i trying to make use of the _update_by_query route. I am sending this body: { "query": { "match": { "id": "fdfsfsfs-058f-437d-bc52-473808ba61c2" } }, "script": { "inline":…
Savas P
  • 83
  • 6
1
vote
1 answer

how to use api of elasticsearch in shopware's cron?

i'm setting up a cronjob for reindexing Elasticsearch index in shopware, problem is that to execute "php bin/console sw:es:index:populate" in cronjob. please hepl me. i tried to add service for IndexPopulateCommand however i cant access it from cron
1
vote
1 answer

ElasticSearch Java HighLevelRestClient Connection Refused

I am using the Java HighLevelRestClient to connect to my elasticsearch instance hosted on AWS. I can make requests against the URL on postman and from my browser just fine, but when I use the client library I receive java.net.ConnectException:…
yojello
  • 11
  • 1
  • 3
1
vote
1 answer

Elasticsearch end of scroll returns nothing

I am using Elasticsearch 6.1 API for Python and I am trying to read a certain value from every single document in the database (303 958 documents). doc = { 'size' : 1000, 'query' : { 'match_all' : {} } } samplesCount = 0 res =…
Tomas Lukac
  • 1,923
  • 2
  • 19
  • 37
1
2 3 4