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 Version
AbstractAnalysisFactory.luceneMatchVersion
the 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 LuceneVersion
wrote 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, ornull
if it is unknown.SegmentInfo.getVersion()
Returns the version of the code which wrote the segment.LeafMetaData.minVersion()
Returns the value of theminVersion
record 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 Version
Version.LATEST
WARNING: if you use this setting, and then upgrade to a newer release of Lucene, sizable changes may happen.static final Version
Version.LUCENE_10_0_0
Deprecated.(10.1.0) Use lateststatic final Version
Version.LUCENE_10_1_0
Deprecated.(10.2.0) Use lateststatic final Version
Version.LUCENE_10_2_0
Deprecated.(10.2.1) Use lateststatic final Version
Version.LUCENE_10_2_1
Match settings and bugs in Lucene's 10.2.1 release.static final Version
Version.LUCENE_9_0_0
Deprecated.(9.1.0) Use lateststatic final Version
Version.LUCENE_9_1_0
Deprecated.(9.2.0) Use lateststatic final Version
Version.LUCENE_9_10_0
Deprecated.(9.11.0) Use lateststatic final Version
Version.LUCENE_9_11_0
Deprecated.Use lateststatic final Version
Version.LUCENE_9_11_1
Deprecated.Use lateststatic final Version
Version.LUCENE_9_12_0
Deprecated.Use lateststatic final Version
Version.LUCENE_9_12_1
Deprecated.Use lateststatic final Version
Version.LUCENE_9_12_2
Deprecated.Use lateststatic final Version
Version.LUCENE_9_2_0
Deprecated.(9.3.0) Use lateststatic final Version
Version.LUCENE_9_3_0
Deprecated.(9.4.0) Use lateststatic final Version
Version.LUCENE_9_4_0
Deprecated.Use lateststatic final Version
Version.LUCENE_9_4_1
Deprecated.Use lateststatic final Version
Version.LUCENE_9_4_2
Deprecated.Use lateststatic final Version
Version.LUCENE_9_5_0
Deprecated.(9.6.0) Use lateststatic final Version
Version.LUCENE_9_6_0
Deprecated.(9.7.0) Use lateststatic final Version
Version.LUCENE_9_7_0
Deprecated.(9.8.0) Use lateststatic final Version
Version.LUCENE_9_8_0
Deprecated.(9.9.0) Use lateststatic final Version
Version.LUCENE_9_9_0
Deprecated.(9.9.1) Use lateststatic final Version
Version.LUCENE_9_9_1
Deprecated.(9.9.2) Use lateststatic final Version
Version.LUCENE_9_9_2
Deprecated.(9.10.0) Use lateststatic final Version
Version.LUCENE_CURRENT
Deprecated.UseLATEST
Methods in org.apache.lucene.util that return VersionModifier and TypeMethodDescriptionstatic Version
Version.fromBits
(int major, int minor, int bugfix) Returns a new version based on raw numbersstatic 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