Fork me on GitHub
Search Results for

    Show / Hide Table of Contents

    list-segments

    Name

    index-list-segments - Lists segments in an index.

    Synopsis

    lucene index list-segments [\<INDEX_DIRECTORY>] [?|-h|--help]
    

    Description

    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.

    Arguments

    INDEX_DIRECTORY

    The directory of the index. If omitted, it defaults to the current working directory.

    Options

    ?|-h|--help

    Prints out a short help for the command.

    Example

    List the segments in the index located at X:\lucene-index\:

    lucene index list-segments X:\lucene-index
    
    • Improve this Doc
    In This Article
    Back to top Copyright © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.