index-list-segments
- Lists segments in an index.
lucene index list-segments [<INDEX_DIRECTORY>] [?|-h|--help]
After running this command to view segments, use copy-segments to copy segments from one index directory to another or delete-segments to remove segments from an index.
INDEX_DIRECTORY
The directory of the index. If omitted, it defaults to the current working directory.
?|-h|--help
Prints out a short help for the command.
List the segments in the index located at X:\lucene-index\
:
lucene index list-segments X:\lucene-index