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_SYSPROPinsteadorg.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 resourcesnullorg.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 useKnnFloatVectorFieldinsteadorg.apache.lucene.index.VectorValues useFloatVectorValuesinsteadorg.apache.lucene.search.DocValuesFieldExistsQuery UseFieldExistsQueryinstead.org.apache.lucene.search.KnnVectorFieldExistsQuery UseFieldExistsQueryinstead.org.apache.lucene.search.KnnVectorQuery useKnnFloatVectorQueryinsteadorg.apache.lucene.search.NormsFieldExistsQuery UseFieldExistsQueryinstead.org.apache.lucene.util.automaton.DaciukMihovAutomatonBuilder Visibility of this class will be reduced in a future release. Users can access this functionality directly throughAutomata.makeStringUnion(Iterable)
-
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.NOinstead.org.apache.lucene.document.FloatField(String, float) UseFloatField(String, float, Field.Store)withField.Store.NOinstead.org.apache.lucene.document.IntField(String, int) UseIntField(String, int, Field.Store)withField.Store.NOinstead.org.apache.lucene.document.LongField(String, long) UseLongField(String, long, Field.Store)withField.Store.NOinstead.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.PACKEDinstead.