Companion

object Companion

Properties

Link copied to clipboard

Argument for .setPreload that configures all files to be preloaded upon opening them.

Link copied to clipboard

Argument for .setPreload that configures files to be preloaded upon opening them if they use the ReadAdvice.RANDOM_PRELOAD advice.

Link copied to clipboard

Default max chunk size:

Link copied to clipboard

Argument for .setGroupingFunction that configures grouping by segment.

Link copied to clipboard

Argument for .setPreload that configures no files to be preloaded upon opening them.

Link copied to clipboard

Argument for .setGroupingFunction that configures no grouping.

Link copied to clipboard

This sysprop allows to control the total maximum number of mmapped files that can be associated with a single shared foreign.Arena. For example, to set the max number of permits to 256, pass the following on the command line pass -Dorg.apache.lucene.store.MMapDirectory.sharedArenaMaxPermits=256. Setting a value of 1 associates one file to one shared arena.

Functions

Link copied to clipboard

Returns true, if MMapDirectory uses the platform's madvise() syscall to advise how OS kernel should handle paging after opening a file.