How to get document from rollup result

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OpenSearch 1.3.1

Describe the issue:
After rollup operation, I’d like to check the document from rollup result. But if I change “size”: 0 to 1

POST example_rollup/_search
“size”: 0,

It will report error:
“type” : “illegal_argument_exception”,
“reason” : “Rollup search must have size explicitly set to 0, but found 1”

What’s the correct way to get document from the rollup result?



Relevant Logs or Screenshots:

I don’t think it’s possible since original documents should be already removed during rollup.

I think the original index is still available, I can check original index and make rollup again. What’s the reason the rollup result index is limited and I can’t fetch document?

If the document still exists you can _search it, but can not _rollup_search with hits=1.