Uses of Class
org.apache.lucene.util.Version
-
-
Uses of Version in org.apache.lucene.analysis
Methods in org.apache.lucene.analysis that return Version Modifier and Type Method Description VersionAnalyzer. 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 Description voidAnalyzer. setVersion(Version v)Set the version of Lucene this analyzer should mimic the behavior for for analysis. -
Uses of Version in org.apache.lucene.analysis.util
Fields in org.apache.lucene.analysis.util declared as Version Modifier and Type Field Description protected VersionAbstractAnalysisFactory. luceneMatchVersionthe luceneVersion argMethods in org.apache.lucene.analysis.util that return Version Modifier and Type Method Description VersionAbstractAnalysisFactory. getLuceneMatchVersion() -
Uses of Version in org.apache.lucene.index
Methods in org.apache.lucene.index that return Version Modifier and Type Method Description VersionSegmentInfos. getCommitLuceneVersion()Returns which LuceneVersionwrote this commit, or null if the version this index was written with did not directly record the version.VersionSegmentInfos. getMinSegmentLuceneVersion()Returns the version of the oldest segment, or null if there are no segments.VersionLeafMetaData. getMinVersion()Return the minimum Lucene version that contributed documents to this index, ornullif this information is not available.VersionSegmentInfo. getMinVersion()Return the minimum Lucene version that contributed documents to this segment, ornullif it is unknown.VersionSegmentInfo. getVersion()Returns the version of the code which wrote the segment.Constructors in org.apache.lucene.index with parameters of type Version Constructor 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.spatial.prefix.tree
Methods in org.apache.lucene.spatial.prefix.tree that return Version Modifier and Type Method Description VersionSpatialPrefixTreeFactory. getVersion()Return the version of Lucene this tree will mimic the behavior of for analysis.Methods in org.apache.lucene.spatial.prefix.tree with parameters of type Version Modifier and Type Method Description voidSpatialPrefixTreeFactory. setVersion(Version v)Set the version of Lucene this tree should mimic the behavior for for analysis. -
Uses of Version in org.apache.lucene.util
Fields in org.apache.lucene.util declared as Version Modifier and Type Field Description static VersionVersion. LATESTWARNING: if you use this setting, and then upgrade to a newer release of Lucene, sizable changes may happen.static VersionVersion. LUCENE_7_0_0Match settings and bugs in Lucene's 7.0.0 release.static VersionVersion. LUCENE_7_0_1Deprecated.Use lateststatic VersionVersion. LUCENE_7_1_0Deprecated.Use lateststatic VersionVersion. LUCENE_7_2_0Deprecated.Use lateststatic VersionVersion. LUCENE_7_2_1Deprecated.Use lateststatic VersionVersion. LUCENE_7_3_0Deprecated.Use lateststatic VersionVersion. LUCENE_7_3_1Deprecated.Use lateststatic VersionVersion. LUCENE_7_4_0Deprecated.Use lateststatic VersionVersion. LUCENE_7_5_0Deprecated.Use lateststatic VersionVersion. LUCENE_7_6_0Deprecated.Use lateststatic VersionVersion. LUCENE_7_7_0Deprecated.Use lateststatic VersionVersion. LUCENE_7_7_1Deprecated.Use lateststatic VersionVersion. LUCENE_7_7_2Deprecated.Use lateststatic VersionVersion. LUCENE_7_8_0Deprecated.Use lateststatic VersionVersion. LUCENE_8_0_0Deprecated.(8.1.0) Use lateststatic VersionVersion. LUCENE_8_1_0Deprecated.(8.2.0) Use lateststatic VersionVersion. LUCENE_8_1_1Deprecated.Use lateststatic VersionVersion. LUCENE_8_2_0Deprecated.(8.3.0) Use lateststatic VersionVersion. LUCENE_8_3_0Deprecated.(8.4.0) Use lateststatic VersionVersion. LUCENE_8_3_1Deprecated.Use lateststatic VersionVersion. LUCENE_8_4_0Deprecated.(8.4.1) Use lateststatic VersionVersion. LUCENE_8_4_1Match settings and bugs in Lucene's 8.4.1 release.static VersionVersion. LUCENE_CURRENTDeprecated.UseLATESTMethods in org.apache.lucene.util that return Version Modifier and Type Method Description static VersionVersion. fromBits(int major, int minor, int bugfix)Returns a new version based on raw numbersstatic VersionVersion. parse(String version)Parse 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 Modifier and Type Method Description booleanVersion. onOrAfter(Version other)Returns true if this version is the same or after the version from the argument. -
Uses of Version in org.elasticsearch
Fields in org.elasticsearch declared as Version Modifier and Type Field Description VersionVersion. luceneVersion -
Uses of Version in org.elasticsearch.common.lucene
Methods in org.elasticsearch.common.lucene that return Version Modifier and Type Method Description static VersionLucene. parseVersion(String version, Version defaultVersion, org.apache.logging.log4j.Logger logger)static VersionLucene. parseVersionLenient(String toParse, Version defaultValue)Parses the version string lenient and returns the default value if the given string is null or emptyMethods in org.elasticsearch.common.lucene with parameters of type Version Modifier and Type Method Description static VersionLucene. parseVersion(String version, Version defaultVersion, org.apache.logging.log4j.Logger logger)static VersionLucene. parseVersionLenient(String toParse, Version defaultValue)Parses the version string lenient and returns the default value if the given string is null or empty -
Uses of Version in org.elasticsearch.common.settings
Methods in org.elasticsearch.common.settings with parameters of type Version Modifier and Type Method Description Settings.BuilderSettings.Builder. put(String key, Version luceneVersion)Sets an lucene version setting with the provided setting key and lucene version instance. -
Uses of Version in org.elasticsearch.index.analysis
Fields in org.elasticsearch.index.analysis declared as Version Modifier and Type Field Description protected VersionAbstractIndexAnalyzerProvider. versionprotected VersionAbstractTokenFilterFactory. versionprotected VersionAbstractTokenizerFactory. versionMethods in org.elasticsearch.index.analysis that return Version Modifier and Type Method Description static VersionAnalysis. parseAnalysisVersion(Settings indexSettings, Settings settings, org.apache.logging.log4j.Logger logger)VersionAbstractTokenFilterFactory. version()VersionAbstractTokenizerFactory. version()Method parameters in org.elasticsearch.index.analysis with type arguments of type Version Modifier and Type Method Description static PreConfiguredCharFilterPreConfiguredCharFilter. luceneVersion(String name, boolean useFilterForMultitermQueries, BiFunction<Reader,Version,Reader> create)Create a pre-configured token filter that may vary based on the Lucene version.static PreConfiguredTokenFilterPreConfiguredTokenFilter. luceneVersion(String name, boolean useFilterForMultitermQueries, BiFunction<TokenStream,Version,TokenStream> create)Create a pre-configured token filter that may vary based on the Lucene version.static PreConfiguredTokenizerPreConfiguredTokenizer. luceneVersion(String name, Function<Version,Tokenizer> create)Create a pre-configured tokenizer that may vary based on the Lucene version. -
Uses of Version in org.elasticsearch.index.engine
Fields in org.elasticsearch.index.engine declared as Version Modifier and Type Field Description VersionSegment. versionMethods in org.elasticsearch.index.engine that return Version Modifier and Type Method Description VersionSegment. getVersion() -
Uses of Version in org.elasticsearch.index.shard
Methods in org.elasticsearch.index.shard that return Version Modifier and Type Method Description VersionIndexShard. minimumCompatibleVersion()VersionIndexShard. upgrade(UpgradeRequest upgrade)Upgrades the shard to the current version of Lucene and returns the minimum segment version -
Uses of Version in org.elasticsearch.index.store
Methods in org.elasticsearch.index.store that return Version Modifier and Type Method Description VersionStoreFileMetaData. writtenBy()Returns the Lucene version this file has been written by ornullif unknownMethods in org.elasticsearch.index.store with parameters of type Version Modifier and Type Method Description voidStore. createEmpty(Version luceneVersion)creates an empty lucene index and a corresponding empty translog.Constructors in org.elasticsearch.index.store with parameters of type Version Constructor Description StoreFileMetaData(String name, long length, String checksum, Version writtenBy)StoreFileMetaData(String name, long length, String checksum, Version writtenBy, BytesRef hash)
-