Open V1NAY8 opened 4 years ago
@sethmlarson
Is there a way we can fetch the _id
which is the position of document while using composite aggregation?
Our main goal is to find the positions where the buckets are in a dataframe.
Not sure, might not be possible unfortunately.
.indices
similar to pandas Example:How this works in Pandas: We return a dictionary where values are the positions of that document in the entire index.