Uses of Class
org.apache.lucene.util.Version
Packages that use Version
Package
Description
Text analysis.
Code to maintain and access indices.
Some utility classes.
-
Uses of Version in org.apache.lucene.analysis
Fields in org.apache.lucene.analysis declared as VersionModifier and TypeFieldDescriptionprotected final VersionAbstractAnalysisFactory.luceneMatchVersionthe luceneVersion argMethods in org.apache.lucene.analysis that return Version -
Uses of Version in org.apache.lucene.index
Methods in org.apache.lucene.index that return VersionModifier and TypeMethodDescriptionSegmentInfos.getCommitLuceneVersion()Returns which LuceneVersionwrote this commit, or null if the version this index was written with did not directly record the version.SegmentInfos.getMinSegmentLuceneVersion()Returns the version of the oldest segment, or null if there are no segments.SegmentInfo.getMinVersion()Return the minimum Lucene version that contributed documents to this segment, ornullif it is unknown.SegmentInfo.getVersion()Returns the version of the code which wrote the segment.LeafMetaData.minVersion()Returns the value of theminVersionrecord component.Constructors in org.apache.lucene.index with parameters of type VersionModifierConstructorDescriptionLeafMetaData(int createdVersionMajor, Version minVersion, Sort sort, boolean hasBlocks) Expert: Sole constructor.SegmentInfo(Directory dir, Version version, Version minVersion, String name, int maxDoc, boolean isCompoundFile, boolean hasBlocks, 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 VersionModifier and TypeFieldDescriptionstatic final VersionVersion.LATESTWARNING: if you use this setting, and then upgrade to a newer release of Lucene, sizable changes may happen.static final VersionVersion.LUCENE_10_0_0Deprecated.(10.1.0) Use lateststatic final VersionVersion.LUCENE_10_1_0Deprecated.(10.2.0) Use lateststatic final VersionVersion.LUCENE_10_2_0Deprecated.(10.2.1) Use lateststatic final VersionVersion.LUCENE_10_2_1Match settings and bugs in Lucene's 10.2.1 release.static final VersionVersion.LUCENE_9_0_0Deprecated.(9.1.0) Use lateststatic final VersionVersion.LUCENE_9_1_0Deprecated.(9.2.0) Use lateststatic final VersionVersion.LUCENE_9_10_0Deprecated.(9.11.0) Use lateststatic final VersionVersion.LUCENE_9_11_0Deprecated.Use lateststatic final VersionVersion.LUCENE_9_11_1Deprecated.Use lateststatic final VersionVersion.LUCENE_9_12_0Deprecated.Use lateststatic final VersionVersion.LUCENE_9_12_1Deprecated.Use lateststatic final VersionVersion.LUCENE_9_12_2Deprecated.Use lateststatic final VersionVersion.LUCENE_9_2_0Deprecated.(9.3.0) Use lateststatic final VersionVersion.LUCENE_9_3_0Deprecated.(9.4.0) Use lateststatic final VersionVersion.LUCENE_9_4_0Deprecated.Use lateststatic final VersionVersion.LUCENE_9_4_1Deprecated.Use lateststatic final VersionVersion.LUCENE_9_4_2Deprecated.Use lateststatic final VersionVersion.LUCENE_9_5_0Deprecated.(9.6.0) Use lateststatic final VersionVersion.LUCENE_9_6_0Deprecated.(9.7.0) Use lateststatic final VersionVersion.LUCENE_9_7_0Deprecated.(9.8.0) Use lateststatic final VersionVersion.LUCENE_9_8_0Deprecated.(9.9.0) Use lateststatic final VersionVersion.LUCENE_9_9_0Deprecated.(9.9.1) Use lateststatic final VersionVersion.LUCENE_9_9_1Deprecated.(9.9.2) Use lateststatic final VersionVersion.LUCENE_9_9_2Deprecated.(9.10.0) Use lateststatic final VersionVersion.LUCENE_CURRENTDeprecated.UseLATESTMethods in org.apache.lucene.util that return VersionModifier and TypeMethodDescriptionstatic VersionVersion.fromBits(int major, int minor, int bugfix) Returns a new version based on raw numbersstatic VersionParse a version number of the form"major.minor.bugfix.prerelease".static VersionVersion.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