elasticsearch Questions
4
Solved
I have this query with a strange result: it returns a total of 612 documents but no hits.
This is the query:
{
"from": 900,
"size": 30,
"query": {
"filtered": {
"filter": {
"bool": {
"must...
Loathsome asked 7/1, 2017 at 18:29
2
What is the equivalent of org.springframework.data.elasticsearch.core.query.NativeSearchQuery for support beyond 5.0.
Migrated the following snippet from
NativeSearchQuery query = new NativeSearch...
Gadolinite asked 10/4, 2023 at 11:0
7
I was working on elastic search and it was working perfectly. Today I just restarted my remote server (Ubuntu). Now I am searching in my indexes, it is giving me this error.
{"error":"SearchPhaseE...
Procambium asked 16/1, 2014 at 9:7
1
I am trying to build a local elasticsearch instance using Docker. I have started Elasticsearch container and then started Kibana container. I have gone through the process of connecting kibana cont...
Hysterotomy asked 21/11, 2022 at 5:53
7
Solved
If one wants to count the number of documents in an index (of Elasticsearch) then there are (at least?) two possibilities:
Direct count
POST my_index/_count
should return the number of document...
Duvetyn asked 9/9, 2014 at 8:26
2
I'm trying out the new machine learning module in x pack. I'm trying to identify rare response codes in HTTP Access logs in time. My logs are being stored in elasticsearch as below:
{
"_index": "...
Freeboard asked 8/6, 2017 at 12:19
2
Solved
I want to find certain elements in my elastic search that have a given ID and I can't figure an easy way to do this.
I see http://www.elasticsearch.org/guide/reference/query-dsl/ids-query/ but can...
Hermaphroditism asked 16/5, 2013 at 1:18
3
I am looking for ElasticSearch query which will provide exact match on string having spaces in it.
for example - I want to search for a word like 'XYZ Company Solutions'.
I tried querystring quer...
Guideline asked 28/4, 2015 at 15:6
4
I am trying to update a document's nested type field using update_by_query. I am using the following script query:
POST test/_update_by_query
{
"script": {
"source": "ctx...
Herne asked 20/8, 2020 at 12:33
28
Solved
I want to remove data from ElasticSearch. I have deleted my indexes. However, that doesn't seem to actually remove the data itself. The other stuff I've seen points to the Delete by Query feature. ...
Opium asked 7/4, 2014 at 22:31
2
Solved
I am trying to access Elasticsearch database inside a container from a Java application which is also inside a container.
Both of them are in the following docker-compose.yml:
version: "3.7"
serv...
Garcon asked 11/3, 2020 at 11:49
3
Solved
I am strugglling to get Docker LogStash connecting to Docker ElasticSearch with xpack security enable.
The main logs are:
logstash_1 | [2020-05-20T22:41:03,950][WARN ][deprecation.logstash.monito...
Graticule asked 20/5, 2020 at 23:6
3
Solved
I have a strange problem with Logstash. I am providing a log file as input to logstash. The configuration is as follows:
input {
file {
type => "apache-access"
path => ["C:\Users\spangulu...
Hemipterous asked 30/5, 2014 at 20:20
4
Solved
I am always getting a high value for an aggregation query in elasticsearch on the doc_count_error_upper_bound attribute. It's sometimes as high as 8000 or 9000 for a ES cluster having almost a bill...
Rolfe asked 29/5, 2016 at 18:49
13
I am new to Docker and Elasticsearch.
I am using a Windows 7 machine. I am using docker-compose up to bring up the docker container. My yml file has
elasticsearch:
image: elasticsearch:5.1.1
env...
Stableman asked 8/2, 2017 at 11:13
1
Solved
I have created a file ie., testfile.painless
ctx._source.b_id=params.b_id;
and just placed the testfile.painless file in the config/scripts folder on cluster node and then tried with _update_by_qu...
Deese asked 23/8, 2023 at 18:59
2
Solved
I'm new to Spring Data elasticsearch. I'm working on a project in which I'm indexing bugs faced in different projects (just for example).
I want to fetch all projects, with the number of bugs in ea...
Laxity asked 18/5, 2023 at 12:47
5
I am learning elastic search and would like to count distinct values. So far I can count values but not distinct.
Here is the sample data:
curl http://localhost:9200/store/item/ -XPOST -d '{
"Re...
Congenial asked 9/7, 2014 at 16:15
3
I'm using testcontainers.org using docker.elastic.co/elasticsearch/elasticsearch-oss:7.3.2 and I want to use it to test the plugin I'm updating, but I can't find a way to install it inside test env...
Radices asked 27/9, 2019 at 13:10
5
Solved
I have a problem with my Elasticsearch nodes running in a docker environment. I'm starting them up with docker-compose and after a few minutes they tell me:
flood stage disk watermark [95%] exceede...
Coble asked 14/9, 2020 at 7:40
2
I would like to run the Dockerized version of Elasticsearch without username/password based security (I use other means, like AWS security groups).
How do I disable username/password security in El...
Airdry asked 31/10, 2017 at 12:8
2
Solved
I have this document in ES and I am looking at it through Kibana.
What does the _score field represent?
{
"took": 2,
"timed_out": false,
"_shards": {
"total": 11,
"successful": 11,
"skippe...
Paleolith asked 29/10, 2018 at 12:9
7
Solved
I am trying to setup elasticsearch in my Windows system but when I am trying to run it its starting up and showing below reponse when I redirect to http://localhost:9200.
{
"name" : &quo...
Loudhailer asked 16/3, 2022 at 6:1
1
I'm using version 8 of the .NET 'Elastic.Clients.Elasticsearch' nuget package and trying to create an index mapping based on the below model.
How do I map the Employee members and their JobRole mem...
Fancher asked 25/3, 2023 at 14:58
2
I created a Kibana dashboard, containing some visualization. I can successfully embed the dashboard using the provided url:
{url}/app/kibana#/dashboard/{dashboard_uuid}?embed=true&_g=(refreshI...
Jablonski asked 19/4, 2019 at 7:12
© 2022 - 2024 — McMap. All rights reserved.