Fork me on GitHub
Search Results for

    Show / Hide Table of Contents

    merge

    Name

    index-merge - Merges multiple indexes into a single index.

    Synopsis

    lucene index merge <OUTPUT_DIRECTORY> <INPUT_DIRECTORY> <INPUT_DIRECTORY_2>[ <INPUT_DIRECTORY_N>...] [?|-h|--help]
    

    Description

    Merges the the input index directories into a combined index at the output directory path.

    Arguments

    OUTPUT_DIRECTORY

    The output directory to merge the input indexes into.

    INPUT_DIRECTORY, INPUT_DIRECTORY_2, INPUT_DIRECTORY_N

    Two or more input index directories, separated by a space.

    Options

    ?|-h|--help

    Prints out a short help for the command.

    Example

    Merge the indexes C:\product-index1 and C:\product-index2 into an index located at X:\merged-index:

    lucene index merge X:\merged-index C:\product-index1 C:\product-index2
    
    • 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.