Uses of Enum Class
org.apache.lucene.store.ReadAdvice
Packages that use ReadAdvice
Package
Description
Binary i/o API, used for all index data.
Some utility classes.
-
Uses of ReadAdvice in org.apache.lucene.store
Fields in org.apache.lucene.store with type parameters of type ReadAdviceModifier and TypeFieldDescriptionstatic final BiFunction<String, IOContext, Optional<ReadAdvice>> MMapDirectory.ADVISE_BY_CONTEXTArgument forMMapDirectory.setReadAdvice(BiFunction)that configures the read advice based on the context type and hints.Methods in org.apache.lucene.store that return ReadAdviceModifier and TypeMethodDescriptionstatic ReadAdviceReturns the enum constant of this class with the specified name.static ReadAdvice[]ReadAdvice.values()Returns an array containing the constants of this enum class, in the order they are declared.Method parameters in org.apache.lucene.store with type arguments of type ReadAdviceModifier and TypeMethodDescriptionvoidMMapDirectory.setReadAdvice(BiFunction<String, IOContext, Optional<ReadAdvice>> toReadAdvice) ConfigureReadAdvicefor certain files. -
Uses of ReadAdvice in org.apache.lucene.util
Fields in org.apache.lucene.util declared as ReadAdviceModifier and TypeFieldDescriptionstatic final ReadAdviceConstants.DEFAULT_READADVICEThe defaultReadAdviceused for opening index files.