Uses of Class
org.apache.lucene.util.Version
Package
Description
Text analysis.
Code to maintain and access indices.
Some utility classes.
-
Uses of Version in org.apache.lucene.analysis
Modifier and TypeFieldDescriptionprotected final Version
AbstractAnalysisFactory.luceneMatchVersion
the luceneVersion arg -
Uses of Version in org.apache.lucene.index
Modifier 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.LeafMetaData.getMinVersion()
Return the minimum Lucene version that contributed documents to this index, ornull
if this information is not available.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.ModifierConstructorDescriptionLeafMetaData
(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
Modifier 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_8_0_0
Deprecated.(9.0.0) Use lateststatic final Version
Version.LUCENE_8_1_0
Deprecated.Use lateststatic final Version
Version.LUCENE_8_1_1
Deprecated.Use lateststatic final Version
Version.LUCENE_8_10_0
Deprecated.Use lateststatic final Version
Version.LUCENE_8_10_1
Deprecated.Use lateststatic final Version
Version.LUCENE_8_11_0
Deprecated.(8.11.1) Use lateststatic final Version
Version.LUCENE_8_11_1
Deprecated.Use lateststatic final Version
Version.LUCENE_8_12_0
Deprecated.Use lateststatic final Version
Version.LUCENE_8_2_0
Deprecated.Use lateststatic final Version
Version.LUCENE_8_3_0
Deprecated.Use lateststatic final Version
Version.LUCENE_8_3_1
Deprecated.Use lateststatic final Version
Version.LUCENE_8_4_0
Deprecated.Use lateststatic final Version
Version.LUCENE_8_4_1
Deprecated.Use lateststatic final Version
Version.LUCENE_8_5_0
Deprecated.Use lateststatic final Version
Version.LUCENE_8_5_1
Deprecated.Use lateststatic final Version
Version.LUCENE_8_5_2
Deprecated.Use lateststatic final Version
Version.LUCENE_8_6_0
Deprecated.Use lateststatic final Version
Version.LUCENE_8_6_1
Deprecated.Use lateststatic final Version
Version.LUCENE_8_6_2
Deprecated.Use lateststatic final Version
Version.LUCENE_8_6_3
Deprecated.Use lateststatic final Version
Version.LUCENE_8_7_0
Deprecated.Use lateststatic final Version
Version.LUCENE_8_8_0
Deprecated.Use lateststatic final Version
Version.LUCENE_8_8_1
Deprecated.Use lateststatic final Version
Version.LUCENE_8_8_2
Deprecated.Use lateststatic final Version
Version.LUCENE_8_9_0
Deprecated.Use lateststatic final Version
Version.LUCENE_9_0_0
Deprecated.(9.1.0) Use lateststatic final Version
Version.LUCENE_9_1_0
Match settings and bugs in Lucene's 9.1.0 release.static final Version
Version.LUCENE_CURRENT
Deprecated.UseLATEST
Modifier 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.