## Uses of Class
org.apache.lucene.index.IndexCommit

- Packages that use IndexCommit
  Package | Description
  --- | ---
  org.apache.lucene.index | Code to maintain and access indices.

- - ### Uses of IndexCommit in org.apache.lucene.index

    Methods in org.apache.lucene.index that return IndexCommit
    Modifier and Type | Method and Description
    --- | ---
    `IndexCommit` | IndexReader.`getIndexCommit()` Expert: return the IndexCommit that this reader has opened.

    Methods in org.apache.lucene.index with parameters of type IndexCommit
    Modifier and Type | Method and Description
    --- | ---
    `static IndexReader` | IndexReader.`open(IndexCommit commit)` Deprecated. Use `IndexReader.open(IndexCommit, boolean)` instead. This method will be removed in the 3.0 release.
    `static IndexReader` | IndexReader.`open(IndexCommit commit, boolean readOnly)` Expert: returns an IndexReader reading the index in the given `IndexCommit`.
    `static IndexReader` | IndexReader.`open(IndexCommit commit, IndexDeletionPolicy deletionPolicy)` Deprecated. Use `IndexReader.open(IndexCommit, IndexDeletionPolicy, boolean)` instead. This method will be removed in the 3.0 release.
    `static IndexReader` | IndexReader.`open(IndexCommit commit, IndexDeletionPolicy deletionPolicy, boolean readOnly)` Expert: returns an IndexReader reading the index in the given Directory, using a specific commit and with a custom `IndexDeletionPolicy`.
    `static IndexReader` | IndexReader.`open(IndexCommit commit, IndexDeletionPolicy deletionPolicy, boolean readOnly, int termInfosIndexDivisor)` Expert: returns an IndexReader reading the index in the given Directory, using a specific commit and with a custom `IndexDeletionPolicy`.
    `IndexReader` | IndexReader.`reopen(IndexCommit commit)` Expert: reopen this reader on a specific commit point.
    `java.lang.Object` | SegmentInfos.FindSegmentsFile.`run(IndexCommit commit)`

    Constructors in org.apache.lucene.index with parameters of type IndexCommit
    Constructor and Description
    `IndexWriter(Directory d, Analyzer a, IndexDeletionPolicy deletionPolicy, IndexWriter.MaxFieldLength mfl, IndexCommit commit)` Expert: constructs an IndexWriter on specific commit point, with a custom `IndexDeletionPolicy`, for the index in `d`.

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.