Hi, First of all, sorry for my question.
I recently started to work with elastic.
I think it is a simple question, but I can't found an explation for it.
I have this indexes.
When I run /prd-pdl-core-labels/_count or /prd-pdl-core-attributes/_count I receive the value that is showed in docs.count
eg,
/prd-pdl-core-labels/_count?q=*:*
{
"count": 1340,
"_shards": {
"total": 1,
"successful": 1,
"skipped": 0,
"failed": 0
}
}
But when I run /prd-pdl-core-products/_count I always receive count:1000.
/prd-pdl-core-products/_count?q=*:*
{
"count": 1000,
"_shards": {
"total": 1,
"successful": 1,
"skipped": 0,
"failed": 0
}
}
Why ? I need to configure something to this index? This index has the same configuration from anothers.
What I'm doing wrong ?
I was under the impression that count should return the same value as docs.count.
If not, how do I get the total?
I tried a lot of different things. track_total_hits, max_result_window etc but I always receive 1000 for this index.