Deprecated API
Contents
-
For Removal Element Description org.apache.lucene.analysis.StopwordAnalyzerBase.loadStopwordSet(boolean, Class<? extends Analyzer>, String, String) Class.getResourceAsStream(String)
is caller sensitive and cannot load resources across Java Modules. Please call thegetResourceAsStream()
andWordlistLoader.getWordSet(Reader, String, CharArraySet)
or other methods directly.org.apache.lucene.store.MMapDirectory.setUseUnmap(boolean) Please use new system propertyMMapDirectory.ENABLE_UNMAP_HACK_SYSPROP
insteadorg.apache.lucene.util.IOUtils.getDecodingReader(Class<?>, String, Charset) Class.getResourceAsStream(String)
is caller sensitive and cannot load resources across Java Modules. Please call thegetResourceAsStream()
directly and useIOUtils.requireResourceNonNull(Object,String)
to signal missing resourcesnull
org.apache.lucene.util.IOUtils.IOConsumer was replaced byIOConsumer
.org.apache.lucene.util.IOUtils.IOFunction was replaced byIOFunction
.
-
Interfaces Interface Description org.apache.lucene.util.IOUtils.IOConsumer was replaced byIOConsumer
.org.apache.lucene.util.IOUtils.IOFunction was replaced byIOFunction
.
-
Classes Class Description org.apache.lucene.document.KnnVectorField useKnnFloatVectorField
insteadorg.apache.lucene.index.VectorValues useFloatVectorValues
insteadorg.apache.lucene.search.DocValuesFieldExistsQuery UseFieldExistsQuery
instead.org.apache.lucene.search.KnnVectorFieldExistsQuery UseFieldExistsQuery
instead.org.apache.lucene.search.KnnVectorQuery useKnnFloatVectorQuery
insteadorg.apache.lucene.search.NormsFieldExistsQuery UseFieldExistsQuery
instead.
-
Exceptions Exceptions Description org.apache.lucene.search.BooleanQuery.TooManyClauses
-
Constructors Constructor Description org.apache.lucene.document.DoubleField(String, double) UseDoubleField(String, double, Field.Store)
withField.Store.NO
instead.org.apache.lucene.document.FloatField(String, float) UseFloatField(String, float, Field.Store)
withField.Store.NO
instead.org.apache.lucene.document.IntField(String, int) UseIntField(String, int, Field.Store)
withField.Store.NO
instead.org.apache.lucene.document.LongField(String, long) UseLongField(String, long, Field.Store)
withField.Store.NO
instead.org.apache.lucene.store.MMapDirectory(Path, int) useMMapDirectory(Path, long)
instead.
-
Enum Constants Enum Constant Description org.apache.lucene.util.packed.PackedInts.Format.PACKED_SINGLE_BLOCK UsePackedInts.Format.PACKED
instead.