Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Enum OpenMode

    Specifies the open mode for IndexWriter.

    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.dll
    Syntax
    public enum OpenMode

    Fields

    Name Description
    APPEND

    Opens an existing index.

    CREATE

    Creates a new index or overwrites an existing one.

    CREATE_OR_APPEND

    Creates a new index if one does not exist, otherwise it opens the index and documents will be appended.

    • Improve this Doc
    • View Source
    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.