Skip to main content

All Questions

1 vote
1 answer
56 views

How to Count Unique Assets with Specific Severity in Elasticsearch?

I have data as follows: { "_index": "index", "_id": "...", "_score": 4.512486, "_source": { "...
GustaMan9000's user avatar
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
0 answers
30 views

How come the result set is different when compared with 8.9 to 2.3 versions of elastic search?

Even though the query remains the same in the 2.3 and 8.9 versions of Elastic how come the results will be different? In the Elastic 8.9 version GET /lems/_search {"size":0,"query"...
Ajay Takur's user avatar
  • 6,244
0 votes
0 answers
94 views

Elasticsearch 8.9 version error: [match] unknown token [START_ARRAY] after [query]

I am trying to get my Elasticsearh query to work, but I get this error: org.elasticsearch.common.ParsingException: [match] unknown token [START_ARRAY] after [query] This is my query: { "size&...
Ajay Takur's user avatar
  • 6,244
0 votes
1 answer
300 views

unable to find script [testfile] in cluster state in elastic search 8.9 v

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_query ...
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
1 answer
26 views

What is the corresponding syntax of "not" in 8.9 version of elastic?

The below syntax is from 2.2 elastic version and its works fine. { "bool" : { "must" : { "term" : { "name.first" : "shay" } ...
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
0 answers
45 views

How to decide which matching score is best or worst in Elasticsearch

I am currently running search based based name, address, city, state and zip code on Elasticsearch index. I am getting some best matches and some worst also. Name, address, city , state and zip code ...
Ashwani Singh's user avatar
0 votes
2 answers
89 views

ElasticSearch Query/Result Optimization

having an elastic search query, need to find its optimization because it takes more CPU time and memory, my first thought is to some changes required in parent/child relationship, How can I optimize ...
Ali Khan'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
0 votes
1 answer
129 views

Pass each matched record value to filter in Elasticsearch

For geo_distance query I'm using a constant value for distance. I need to make it dynamic. So I want to pass the above matched record radius value to distance. Here's the code: let searchRadius = '...
zulqarnain's user avatar
  • 1,626
1 vote
1 answer
681 views

Stats Aggregation with Min Mode in ElasticSearch

I have the below mapping in ElasticSearch { "properties":{ "Costs":{ "type":"nested", "properties":{ ...
user11037262's user avatar
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

15 30 50 per page