Version

class Version

Use by certain classes to match version compatibility across releases of Lucene.

WARNING: When changing the version parameter that you supply to components in Lucene, do not simply change the version at search-time, but instead also adjust your indexing code to match, and re-index.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val bugfix: Int

Bugfix number, incremented on release branches

Link copied to clipboard
val major: Int

Major version, the difference between stable and trunk

Link copied to clipboard
val minor: Int

Minor version, incremented within the stable branch

Link copied to clipboard

Prerelease version, currently 0 (alpha), 1 (beta), or 2 (final)

Functions

Link copied to clipboard
open operator override fun equals(o: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Returns true if this version is the same or after the version from the argument.

Link copied to clipboard
open override fun toString(): String