## Uses of Class
org.apache.lucene.util.Version

- Packages that use Version
  Package | Description
  --- | ---
  org.apache.lucene.analysis | Text analysis.
  org.apache.lucene.index | Code to maintain and access indices.
  org.apache.lucene.util | Some utility classes.

- - ### Uses of Version in org.apache.lucene.analysis

    Methods in org.apache.lucene.analysis that return Version
    Modifier and Type | Method and Description
    --- | ---
    `Version` | Analyzer.`getVersion()` Return the version of Lucene this analyzer will mimic the behavior of for analysis.

    Methods in org.apache.lucene.analysis with parameters of type Version
    Modifier and Type | Method and Description
    --- | ---
    `void` | Analyzer.`setVersion(Version v)` Set the version of Lucene this analyzer should mimic the behavior for for analysis.

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

    Methods in org.apache.lucene.index that return Version
    Modifier and Type | Method and Description
    --- | ---
    `Version` | SegmentInfos.`getCommitLuceneVersion()` Returns which Lucene `Version` wrote this commit, or null if the version this index was written with did not directly record the version.
    `Version` | SegmentInfos.`getMinSegmentLuceneVersion()` Returns the version of the oldest segment, or null if there are no segments.
    `Version` | LeafMetaData.`getMinVersion()` Return the minimum Lucene version that contributed documents to this index, or `null` if this information is not available.
    `Version` | SegmentInfo.`getMinVersion()` Return the minimum Lucene version that contributed documents to this segment, or `null` if it is unknown.
    `Version` | SegmentInfo.`getVersion()` Returns the version of the code which wrote the segment.

    Methods in org.apache.lucene.index with parameters of type Version
    Modifier and Type | Method and Description
    --- | ---
    `static CheckIndex.Status.TermIndexStatus` | CheckIndex.`testPostings(CodecReader reader, PrintStream infoStream, boolean verbose, boolean failFast, Version version)` Test the term index.
    `static CheckIndex.Status.TermIndexStatus` | CheckIndex.`testPostings(CodecReader reader, PrintStream infoStream, Version version)` Test the term index.
    `static CheckIndex.Status.TermVectorStatus` | CheckIndex.`testTermVectors(CodecReader reader, PrintStream infoStream, boolean verbose, boolean crossCheckTermVectors, boolean failFast, Version version)` Test term vectors.
    `static CheckIndex.Status.TermVectorStatus` | CheckIndex.`testTermVectors(CodecReader reader, PrintStream infoStream, Version version)` Test term vectors.

    Constructors in org.apache.lucene.index with parameters of type Version
    Constructor and Description
    `LeafMetaData(int createdVersionMajor, Version minVersion, Sort sort)` Expert: Sole constructor.
    `SegmentInfo(Directory dir, Version version, Version minVersion, String name, int maxDoc, boolean isCompoundFile, Codec codec, Map<String,String> diagnostics, byte[] id, Map<String,String> attributes, Sort indexSort)` Construct a new complete SegmentInfo instance from input.

  - ### Uses of Version in org.apache.lucene.util

    Fields in org.apache.lucene.util declared as Version
    Modifier and Type | Field and Description
    --- | ---
    `static Version` | Version.`LATEST` WARNING: if you use this setting, and then upgrade to a newer release of Lucene, sizable changes may happen.
    `static Version` | Version.`LUCENE_6_0_0` Deprecated. (7.0.0) Use latest
    `static Version` | Version.`LUCENE_6_0_1` Deprecated. Use latest
    `static Version` | Version.`LUCENE_6_1_0` Deprecated. Use latest
    `static Version` | Version.`LUCENE_6_2_0` Deprecated. Use latest
    `static Version` | Version.`LUCENE_6_2_1` Deprecated. Use latest
    `static Version` | Version.`LUCENE_6_3_0` Deprecated. Use latest
    `static Version` | Version.`LUCENE_6_4_0` Deprecated. Use latest
    `static Version` | Version.`LUCENE_6_4_1` Deprecated. Use latest
    `static Version` | Version.`LUCENE_6_4_2` Deprecated. Use latest
    `static Version` | Version.`LUCENE_6_5_0` Deprecated. Use latest
    `static Version` | Version.`LUCENE_6_5_1` Deprecated. Use latest
    `static Version` | Version.`LUCENE_6_6_0` Deprecated. Use latest
    `static Version` | Version.`LUCENE_6_6_1` Deprecated. Use latest
    `static Version` | Version.`LUCENE_6_6_2` Deprecated. Use latest
    `static Version` | Version.`LUCENE_6_6_3` Deprecated. Use latest
    `static Version` | Version.`LUCENE_6_6_4` Deprecated. Use latest
    `static Version` | Version.`LUCENE_6_6_5` Deprecated. Use latest
    `static Version` | Version.`LUCENE_6_6_6` Deprecated. Use latest
    `static Version` | Version.`LUCENE_7_0_0` Deprecated. (7.1.0) Use latest
    `static Version` | Version.`LUCENE_7_0_1` Deprecated. Use latest
    `static Version` | Version.`LUCENE_7_1_0` Deprecated. (7.2.0) Use latest
    `static Version` | Version.`LUCENE_7_2_0` Deprecated. (7.3.0) Use latest
    `static Version` | Version.`LUCENE_7_2_1` Deprecated. (7.3.0) Use latest
    `static Version` | Version.`LUCENE_7_3_0` Deprecated. (7.4.0) Use latest
    `static Version` | Version.`LUCENE_7_3_1` Deprecated. Use latest
    `static Version` | Version.`LUCENE_7_4_0` Deprecated. (7.5.0) Use latest
    `static Version` | Version.`LUCENE_7_5_0` Deprecated. (7.6.0) Use latest
    `static Version` | Version.`LUCENE_7_6_0` Deprecated. (7.7.0) Use latest
    `static Version` | Version.`LUCENE_7_7_0` Deprecated. (7.7.1) Use latest
    `static Version` | Version.`LUCENE_7_7_1` Deprecated. (7.7.2) Use latest
    `static Version` | Version.`LUCENE_7_7_2` Match settings and bugs in Lucene's 7.7.2 release.
    `static Version` | Version.`LUCENE_CURRENT` Deprecated. Use `LATEST`

    Methods in org.apache.lucene.util that return Version
    Modifier and Type | Method and Description
    --- | ---
    `static Version` | Version.`fromBits(int major, int minor, int bugfix)` Returns a new version based on raw numbers
    `static Version` | Version.`parse(String version)` Parse a version number of the form `"major.minor.bugfix.prerelease"`.
    `static Version` | Version.`parseLeniently(String version)` Parse the given version number as a constant or dot based version.

    Methods in org.apache.lucene.util with parameters of type Version
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | Version.`onOrAfter(Version other)` Returns true if this version is the same or after the version from the argument.

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