Companion
object Companion
Properties
Link copied to clipboard
Link copied to clipboard
Maximum value of the token position in an indexed field.
Link copied to clipboard
Maximum length string for a stored field.
Link copied to clipboard
Link copied to clipboard
Source of a segment which results from a call to .addIndexes.
Link copied to clipboard
Source of a segment which results from a flush.
Link copied to clipboard
Source of a segment which results from a merge of other segments.
Link copied to clipboard
Name of the write lock in the index.
Functions
Link copied to clipboard
fun createCompoundFile(infoStream: InfoStream, directory: TrackingDirectoryWrapper, info: SegmentInfo, context: IOContext, deleteFiles: IOConsumer<MutableCollection<String>>)
NOTE: this method creates a compound file for all files returned by info.files(). While, generally, this may include separate norms and deletion files, this SegmentInfo must not reference such files when this method is called, because they are not allowed within a compound file.
Link copied to clipboard
Returns true if indexSort is a prefix of otherSort.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Used only for testing.