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.

    Extension Methods

    Number.IsNumber()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)