Deprecated API
Contents
-
Terminally Deprecated Elements
-
Deprecated InterfacesInterfaceDescriptionUse standard JCR 2.0 API methods defined by
NodeTypeManager
instead.An XA-enabled session should directly implement theXAResource
interfacedepending on what type of store it is useIndexStoreSortStrategy
orIncrementalIndexStoreSortStrategy
insteadUseLockConstants
insteadUseNamespaceConstants
instead.UseNodeTypeConstants
insteadUseVersionConstants
insteadUseThreeWayConflictHandler
instead.UseThreeWayConflictHandler
instead.Since Oak 1.38.0 in favor ofSecurityConfiguration.getMonitors(StatisticsProvider)
-
Deprecated ClassesClassDescriptionUse
IndexStoreUtils
insteadUseDefaultThreeWayConflictHandler
instead.Please useRootProvider
insteadPlease useTreeProvider
insteadReplaced byorg.apache.jackrabbit.oak.security.internal.SecurityProviderBuilder
Since Oak 1.40.0. A full implementation ofLoginModuleMonitor
andLoginModuleMBean
has been added to oak-core.This implementation class will be hidden in Lucene 5.0. UseAnalyzer.GLOBAL_REUSE_STRATEGY
instead!This implementation class will be hidden in Lucene 5.0. UseAnalyzer.PER_FIELD_REUSE_STRATEGY
instead!Only for reading existing 3.x indexes(4.0) This is only used to read indexes created before 4.0.Only for reading existing 3.x indexesOnly for reading old 4.0 segmentsOnly for reading old 4.0 and 4.1 segmentsOnly for reading old 4.0 and 4.1 segmentsOnly for reading old 4.0 and 4.1 segmentsOnly for reading old 4.0 segmentsOnly for reading old 4.0 segmentsOnly for reading old 4.0 segmentsOnly for reading old 4.0-4.5 segments, and supporting IndexWriter.addIndexesOnly for reading old 4.0-4.5 segmentsOnly for reading old 4.0 segmentsOnly for reading old 4.0 segmentsOnly for reading old 4.2 segmentsOnly for reading old 4.2 segmentsOnly for reading old 4.2-4.5 segmentsOnly for reading old 4.3-4.5 segmentsuseNumericDocValuesField
instead.UseBinaryDocValuesField
instead.useNumericDocValuesField
instead.useNumericDocValuesField
instead.useNumericDocValuesField
instead.useNumericDocValuesField
instead.UseSortedDocValuesField
instead.UseBinaryDocValuesField
instead.ImplementTermToBytesRefAttribute
and store bytes directly instead. This class will be removed in Lucene 5.0
-
Deprecated EnumsEnumDescriptionuse
BundlingConfigInitializer
insteadThis is here only to ease transition from the pre-4.0 APIs.This is here only to ease transition from the pre-4.0 APIs.
-
Deprecated FieldsFieldDescriptioncreate a new instance of
Oak.OakDefaultComponents
instead.pass integer edit distances instead.This constant is no longer used since Lucene 4.5.With Lucene 4.0, we are always on Java 6
-
Deprecated MethodsMethodDescriptionUse
CheckpointMBean
insteadUseCheckpointMBean
insteadreplaced byDocumentStoreIndexerBase.buildStore()
useFlatFileStore.getStorePath()
insteadUseJcr.with(ThreeWayConflictHandler)
insteadUseJcr.withAsyncIndexing(String, long)
insteadUseOak.with(ThreeWayConflictHandler)
insteadUseOak.withAsyncIndexing(String, long)
insteadUseConflictHook.of(ThreeWayConflictHandler)
instead.This method does not distinguish betweenLeaseCheckMode.LENIENT
andLeaseCheckMode.STRICT
and returnstrue
for both modes. UseDocumentNodeStoreBuilder.getLeaseCheckMode()
instead.UseDocumentNodeStoreBuilder.getNodeCachePathPredicate()
instead.useClusterNodeInfoDocument.isRecoveryNeeded(long)
instead.UseUUIDUtils.isValidUUID(String)
(String)}with Oak 1.7.2 due to the usage of deprecatedQueryEngineSettings
Since Oak 1.3.10. Please usePathUtils.concatRelativePaths(String...)
instead.This is here only to ease transition from the pre-4.0 APIs.(4.0) useAtomicReader.getFieldInfos()
and checkFieldInfo.hasNorms()
for the field instead.iterate fields and add their size() instead. this method is only provided as a transition mechanism to access this statistic for 3.x indexes, which do not have this statistic per-field.no longer supportedno longer supportedno longer supported(4.4) Index as a numeric field usingIntField
and then useFieldCache.getInts(AtomicReader, String, boolean)
instead.(4.4) Index as a numeric field usingIntField
and then useFieldCache.getInts(AtomicReader, String, boolean)
instead.(4.4) Index as a numeric field usingIntField
and then useFieldCache.getInts(AtomicReader, String, boolean)
instead.org.apache.lucene.search.FieldCache.getShorts(AtomicReader, String, FieldCache.ShortParser, boolean) (4.4) Index as a numeric field usingIntField
and then useFieldCache.getInts(AtomicReader, String, boolean)
instead.org.apache.lucene.search.FieldCacheRangeFilter.newShortRange(String, Short, Short, boolean, boolean) pass integer edit distances instead.UseIndexSearcher.doc(int, Set)
instead.Only for reading CFS files from 3.x indexes.This is no longer used since Lucene 4.5.This is no longer used since Lucene 4.5.(4.1) This method will be removed in Lucene 5.0This comparator is only a transition mechanismThis comparator is only a transition mechanism
-
Deprecated ConstructorsConstructorDescriptionDon't create instances of this class, use
Analyzer.GLOBAL_REUSE_STRATEGY
Don't create instances of this class, useAnalyzer.PER_FIELD_REUSE_STRATEGY
UseAnalyzerWrapper(Analyzer.ReuseStrategy)
and specify a validAnalyzer.ReuseStrategy
, probably retrieved from the wrapped analyzer usingAnalyzer.getReuseStrategy()
.UseStoredField
instead.UseStoredField
instead.UseTextField
instead.UseTextField
instead.UseStringField
,TextField
instead.UseStringField
,TextField
instead.UseTextField
insteadUseTextField
instead
-
Deprecated Enum ConstantsEnum ConstantDescription(4.0) Use latest(4.0) Use latest(4.0) Use latest(4.0) Use latest(4.0) Use latest(4.0) Use latest(4.0) Use latest(4.1) Use latest(4.2) Use latest(4.3) Use latest(4.4) Use latest(4.5) Use latest(4.6) Use latest(4.7) Use latestUse an actual version instead.
BundlingConfigInitializer
instead