Skip to main content

All Questions

0 votes
1 answer
212 views

Elasticsearch "ignore_above" issues

Index Mapping(In Kibana) GET /new_index/_mapping I already reset the "ignore_above" to the larger size, but it seems not working for my index when I query for searching. I heard from other ...
Shi Eng Ng's user avatar
0 votes
1 answer
203 views

Elastic dump from 8.9 to 2.3 throwing errors

When I ran the below command C:\Users\ASDF>elasticdump --input=http://username:pwd@domainname/indexnameone/ --output=http://username:pwd@domainnameone/indexnametwo --type=data The error is ...
Ajay Takur's user avatar
  • 6,244
1 vote
1 answer
50 views

How to fetch documents with must match clause in elastic search 8.9 v

{ "size": 0, "query": { "bool": { "must": [ { "match": { "cid"...
Ajay Takur's user avatar
  • 6,244
0 votes
0 answers
49 views

maximum concurrent count record in elasticsearch?

how to find the maximum concurrent connected client count on the basis of networkId filed in 1 hour in elasticsearch? I have tried this 1 query GET /sample_index/_search {"size":0,"...
KM AMRITA SINGH's user avatar
0 votes
2 answers
48 views

I want sum_char2cust and sum_cust2char only for top 20 document of user

GET chatsession/_search { "query": { "bool": { "filter": [ { "range": { "char2cust": { "...
Sourav Singh Gehlot's user avatar
1 vote
2 answers
2k views

How to get doc value in Elasticsearch Bucket Aggregation query instead of doc count

I have four doc in my ES index. { "_index": "my-index", "_type": "_doc", "_id": "1", &...
Piyush N's user avatar
  • 794
1 vote
1 answer
1k views

How to query on fields returned from painless script_fields

I am new to ES and need some help. Can someone please tell me if there is a way to query on field returned from script_fields? Below is the script_fields I am using: "script_fields": { ...
Vishal Singh's user avatar
0 votes
1 answer
314 views

How to write a elastic search query to get the list of 50 questions with the date and the count

I need to use 2 below MUST conditions while writing the elastic search query MUST - ("source.keyword": "SONAX1") MUST - ("answer.keyword": "UNHANDLED") Required ...
Prabhudas8703's user avatar
0 votes
2 answers
92 views

How to filter match in top 3 - elasticsearch?

I am having the following data in the elasticsearch { "_index": "media", "_type": "information", "_id": "6838", "...
karthick's user avatar
  • 6,178
2 votes
1 answer
2k views

Elasticsearch multi index filter

I have 2 indexes, one that stores users and one that stores articles. User document: { "id" : "152ce52d-e975-4ebd-849a-0a12f535e644", "email": "[email protected]&...
Maucan's user avatar
  • 143
0 votes
1 answer
183 views

How to get total word occurences in elastic search?

Is there a way to get the total count of occurrences of the searched string instead of result hit count? My data structure is a bit complex with nested docs but I have added a simple version of my ...
Rameez Rami's user avatar
  • 5,728
0 votes
1 answer
36 views

elasticsearch how to identify which fields have the common aggregated values

I have a scenario where for the aggregated values from the document i want for each aggregation response which id have the aggregated values for example in the document below if i do aggregate by item,...
Rahul's user avatar
  • 101
0 votes
1 answer
294 views

Elasticsearch DSL Query for displaying elements based on field value in multiple documents

How can I perform a select query similar to the below in elastic search assuming each row in the table is a separate document ? CREATE TABLE orders ( `orderid` varchar, `status` varchar ); ...
Punter Vicky's user avatar
  • 17.1k
6 votes
1 answer
313 views

Elasticsearch Aggregation: Sum of latest childrens per parent

Having a parent-children structure in Elasticsearch representing an order with order_revision children I want to generate a histogram of the price showing the sum of the quantity. { "_type": "order"...
Bernhard Vallant's user avatar