Is there a way to inspect which documents are stored in a specific segment? I can get the segments from the cat segments api, but it only tells me the total # of docs.
I want to perform two functions:
Given a segment id, return the list of documents in that segment
Given a document id, return the segment id of the segment it is in (if it is in multiple segments due to deletions, return all segments)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.