All Questions
Tagged with elasticsearch-aggregation search
10 questions
0
votes
1
answer
27
views
Elastic query & aggregations
I am new to Elastic Search. I want to get the output from the _source of the query step to be included in the aggs step.
Example Data :
{
"id": "1",
...
0
votes
2
answers
1k
views
Calculate exact count of distinct values for combination of 2 fields in Elasticsearch
I have around 40 million records in my elasticsearch index. I want to calculate count of distinct values for combination of 2 fields.
Example for given set of documents:
[
{
"JobId" : 2,
...
0
votes
1
answer
3k
views
elasticsearch - sum of aggregated values
Let's say I have the following data
{
"quantity" : 1,
"amount" : 10,
"discount" : 1
}
{
"quantity" : 4,
"amount" : 12,
"...
1
vote
1
answer
1k
views
ElasticSearch Aggregation + Sorting in on NonNumric Field 5.3
I wanted to aggregate the data on a different field and also wanted to get the aggregated data on sorted fashion based on the name.
My data is :
{
"_index": "testing-aggregation",
"_type": "...
0
votes
0
answers
19
views
How to deal with splitted documents without reaching the Elasticsearch limits
We have parent docs indexed in one index and child documents indexed in another. The reason for doing so is
performance, since we may have thousand of children docs.
to be able to paginate the ...
2
votes
1
answer
362
views
elasticsearch - get intermediate scores within 'function_score'
Here's my index
POST /blogs/1
{
"name" : "learn java",
"popularity" : 100
}
POST /blogs/2
{
"name" : "learn elasticsearch",
"popularity" : 10
}
My search query:
GET /blogs/_search
{
"...
0
votes
2
answers
2k
views
Elastic-search: Search for a specific record without scrolling through all the data
Problem: traversing through more than 10,000 results in elastic search for a search query.
Is there anyway we can search a specific item without traversing/retrieving whole elastic search database. I ...
8
votes
1
answer
685
views
Aggregate and filter from one index to another through a third
On my Elasticsearch server I have three indices: Person, Archive and Document.
Each document has a archive field which is the _id of the Archive it is in.
Each archive has a owner which is the _id of ...
0
votes
1
answer
150
views
Elasticsearch Aggregations. What are they?
can someone please in simple sentences explain what is elasticsearch aggregation exactly?
I searched but everywhere there are some explanations about how to use it, and about syntax.
but I can't ...
0
votes
0
answers
63
views
Elasticsearch : Alternate approach to get frequency count without using aggregation
We are trying to get the frequency count for search terms using aggregation. Since there are three keys for which we need to get the frequency count facing performance degrade with respect to search. ...