Uses of Class
org.apache.solr.core.SolrCore
-
Packages that use SolrCore Package Description org.apache.solr.client.solrj.embedded SolrJ client implementations for embedded solr access.org.apache.solr.cloud Classes for dealing with ZooKeeper when operating in SolrCloud mode.org.apache.solr.core Core classes implementing Solr internals and the management ofSolrCoresorg.apache.solr.core.snapshots Core classes for Solr's persistent snapshots functionalityorg.apache.solr.handler Concrete implementations ofSolrRequestHandlerorg.apache.solr.handler.admin SolrRequestHandlerimplementations for powering he Solr Admin UIorg.apache.solr.handler.component SearchComponentimplementations for use inSearchHandlerorg.apache.solr.highlight SolrHighlighterAPI and related implementations and utilitiesorg.apache.solr.logging APIs related to capturing log event info in theLoggingHandlerorg.apache.solr.metrics TheSolrCoreMetricManageris responsible for collecting metrics fromSolrMetricProducer's and exposing metrics toSolrMetricReporter's.org.apache.solr.metrics.reporters.solr This package containsSolrMetricReporterimplementations specific to SolrCloud reporting.org.apache.solr.request APIs and classes for dealing with Solr requestsorg.apache.solr.rest Solr RESTful APIs via Restlet.org.apache.solr.schema IndexSchemaandFieldTypeimplementations for powering schema.xmlorg.apache.solr.search APIs and classes for parsing and processing search requestsorg.apache.solr.search.similarities Factories for various built-in Lucene ranking models.org.apache.solr.servlet Servlet related classes for powering the Solr HTTP APIorg.apache.solr.spelling APIs and classes used by theSpellCheckComponentorg.apache.solr.spelling.suggest APIs and classes used by theSpellCheckComponentorg.apache.solr.spelling.suggest.fst Factories for FST and Analyzing basedSuggestersorg.apache.solr.spelling.suggest.jaspell Factories for JaSpell basedSuggestersorg.apache.solr.spelling.suggest.tst Factories for TST basedSuggestersorg.apache.solr.update APIs and classes for managing index updatesorg.apache.solr.update.processor UpdateRequestProcessorFactoryAPIs and implementations for use inUpdateRequestProcessorChainsorg.apache.solr.util.plugin Common APIs related to implementing Solr plugins -
-
Uses of SolrCore in org.apache.solr.client.solrj.embedded
Constructors in org.apache.solr.client.solrj.embedded with parameters of type SolrCore Constructor Description EmbeddedSolrServer(SolrCore core)Create an EmbeddedSolrServer wrapping a particular SolrCore -
Uses of SolrCore in org.apache.solr.cloud
Methods in org.apache.solr.cloud with parameters of type SolrCore Modifier and Type Method Description voidRecoveryStrategy. doRecovery(SolrCore core)voidRecoveryStrategy. doSyncOrReplicateRecovery(SolrCore core)static StringReplicateFromLeader. getCommitVersion(SolrCore solrCore)voidZkController. registerConfListenerForCore(String confDir, SolrCore core, Runnable listener)This will give a callback to the listener whenever a child is modified in the conf directory.PeerSync.PeerSyncResultSyncStrategy. sync(ZkController zkController, SolrCore core, ZkNodeProps leaderProps)PeerSync.PeerSyncResultSyncStrategy. sync(ZkController zkController, SolrCore core, ZkNodeProps leaderProps, boolean peerSyncOnlyWithActive) -
Uses of SolrCore in org.apache.solr.core
Fields in org.apache.solr.core declared as SolrCore Modifier and Type Field Description protected SolrCoreRequestHandlers. coreFields in org.apache.solr.core with type parameters of type SolrCore Modifier and Type Field Description protected Map<String,SolrCore>TransientSolrCoreCacheDefault. transientCoresMethods in org.apache.solr.core that return SolrCore Modifier and Type Method Description abstract SolrCoreTransientSolrCoreCache. addCore(String name, SolrCore core)SolrCoreTransientSolrCoreCacheDefault. addCore(String name, SolrCore core)SolrCoreCoreContainer. create(String coreName, Path instancePath, Map<String,String> parameters, boolean newCollection)Creates a new core in a specified instance directory, publishing the core state to the clusterSolrCoreCoreContainer. create(String coreName, Map<String,String> parameters)Creates a new core, publishing the core state to the clusterSolrCoreAbstractSolrEventListener. getCore()SolrCoreCoreContainer. getCore(String name)Gets a core by name and increase its refcount.abstract SolrCoreTransientSolrCoreCache. getCore(String name)SolrCoreTransientSolrCoreCacheDefault. getCore(String name)protected SolrCoreCoreContainer. registerCore(CoreDescriptor cd, SolrCore core, boolean registerInZk, boolean skipRecovery)SolrCoreSolrCore. reload(ConfigSet coreConfig)abstract SolrCoreTransientSolrCoreCache. removeCore(String name)SolrCoreTransientSolrCoreCacheDefault. removeCore(String name)Methods in org.apache.solr.core that return types with arguments of type SolrCore Modifier and Type Method Description Collection<SolrCore>CoreContainer. getCores()abstract Collection<SolrCore>TransientSolrCoreCache. prepareForShutdown()Collection<SolrCore>TransientSolrCoreCacheDefault. prepareForShutdown()Methods in org.apache.solr.core with parameters of type SolrCore Modifier and Type Method Description abstract SolrCoreTransientSolrCoreCache. addCore(String name, SolrCore core)SolrCoreTransientSolrCoreCacheDefault. addCore(String name, SolrCore core)booleanCoreContainer. checkTragicException(SolrCore solrCore)static <T> TSolrCore. createInstance(String className, Class<T> cast, String msg, SolrCore core, org.apache.lucene.analysis.util.ResourceLoader resourceLoader)Creates an instance by trying a constructor that accepts a SolrCore before trying the default (no arg) constructor.static RunnableSolrCore. getConfListener(SolrCore core, ZkSolrResourceLoader zkSolrResourceLoader)static List<PluginBag.RuntimeLib>PluginBag.RuntimeLib. getLibObjects(SolrCore core, List<PluginInfo> libs)Collection<String>CoreContainer. getNamesForCore(SolrCore core)This method is currently experimental.List<String>TransientSolrCoreCache. getNamesForCore(SolrCore core)List<String>TransientSolrCoreCacheDefault. getNamesForCore(SolrCore core)voidHdfsDirectoryFactory. inform(SolrCore core)voidSchemaCodecFactory. inform(SolrCore core)voidSolrResourceLoader. inform(SolrCore core)Tell allSolrCoreAwareinstances about the SolrCoreabstract org.apache.lucene.index.DirectoryReaderIndexReaderFactory. newReader(org.apache.lucene.index.IndexWriter writer, SolrCore core)Creates a new IndexReader instance using the given IndexWriter.abstract org.apache.lucene.index.DirectoryReaderIndexReaderFactory. newReader(org.apache.lucene.store.Directory indexDir, SolrCore core)Creates a new IndexReader instance using the given Directory.org.apache.lucene.index.DirectoryReaderStandardIndexReaderFactory. newReader(org.apache.lucene.index.IndexWriter writer, SolrCore core)org.apache.lucene.index.DirectoryReaderStandardIndexReaderFactory. newReader(org.apache.lucene.store.Directory indexDir, SolrCore core)abstract voidCloseHook. postClose(SolrCore core)Method called when the given SolrCore object has been shut down and update handlers and searchers are closed
Use this method for post-close clean up operations e.g.abstract voidCloseHook. preClose(SolrCore core)Method called when the given SolrCore object is closing / shutting down but before the update handler and searcher(s) are actually closed
Important: Keep the method implementation as short as possible.voidCoreContainer. queueCoreToClose(SolrCore coreToClose)protected SolrCoreCoreContainer. registerCore(CoreDescriptor cd, SolrCore core, boolean registerInZk, boolean skipRecovery)voidZkContainer. registerInZk(SolrCore core, boolean background, boolean skipRecovery)Constructors in org.apache.solr.core with parameters of type SolrCore Constructor Description AbstractSolrEventListener(SolrCore core)PluginBag(Class<T> klass, SolrCore core)Constructs a non-threadsafe plugin registryPluginBag(Class<T> klass, SolrCore core, boolean needThreadSafety)Pass needThreadSafety=true if plugins can be added and removed concurrently with lookups.QuerySenderListener(SolrCore core)RequestHandlers(SolrCore core)RuntimeLib(SolrCore core)SolrCore(CoreContainer coreContainer, String name, String dataDir, SolrConfig config, IndexSchema schema, NamedList configSetProperties, CoreDescriptor coreDescriptor, UpdateHandler updateHandler, IndexDeletionPolicyWrapper delPolicy, SolrCore prev, boolean reload)Creates a new core and register it in the list of cores. -
Uses of SolrCore in org.apache.solr.core.snapshots
Methods in org.apache.solr.core.snapshots with parameters of type SolrCore Modifier and Type Method Description static voidSolrSnapshotManager. deleteNonSnapshotIndexFiles(SolrCore core, org.apache.lucene.store.Directory dir, Collection<SolrSnapshotMetaDataManager.SnapshotMetaData> snapshots)This method deletes index files not associated with the specifiedsnapshots.static voidSolrSnapshotManager. deleteSnapshotIndexFiles(SolrCore core, org.apache.lucene.store.Directory dir, long gen)This method deletes index files of the IndexCommit for the specified generation number.Constructors in org.apache.solr.core.snapshots with parameters of type SolrCore Constructor Description SolrSnapshotMetaDataManager(SolrCore solrCore, org.apache.lucene.store.Directory dir)A constructor.SolrSnapshotMetaDataManager(SolrCore solrCore, org.apache.lucene.store.Directory dir, org.apache.lucene.index.IndexWriterConfig.OpenMode mode)A constructor. -
Uses of SolrCore in org.apache.solr.handler
Methods in org.apache.solr.handler with parameters of type SolrCore Modifier and Type Method Description static booleanSolrConfigHandler. getImmutable(SolrCore core)voidCdcrRequestHandler. inform(SolrCore core)voidGraphHandler. inform(SolrCore core)voidPingRequestHandler. inform(SolrCore core)voidReplicationHandler. inform(SolrCore core)voidSchemaHandler. inform(SolrCore core)voidSolrConfigHandler. inform(SolrCore core)voidSQLHandler. inform(SolrCore core)voidStreamHandler. inform(SolrCore core)voidReplicationHandler.PollListener. onComplete(SolrCore solrCore, IndexFetcher.IndexFetchResult fetchResult)Constructors in org.apache.solr.handler with parameters of type SolrCore Constructor Description IndexFetcher(NamedList initArgs, ReplicationHandler handler, SolrCore sc)RestoreCore(BackupRepository backupRepo, SolrCore core, URI location, String name)SnapShooter(BackupRepository backupRepo, SolrCore core, URI location, String snapshotName, String commitName)SnapShooter(SolrCore core, String location, String snapshotName)Deprecated. -
Uses of SolrCore in org.apache.solr.handler.admin
Methods in org.apache.solr.handler.admin with parameters of type SolrCore Modifier and Type Method Description voidLoggingHandler. inform(SolrCore core) -
Uses of SolrCore in org.apache.solr.handler.component
Methods in org.apache.solr.handler.component with parameters of type SolrCore Modifier and Type Method Description static SolrHighlighterHighlightComponent. getHighlighter(SolrCore core)Deprecated.instead depend onHighlightComponent.process(ResponseBuilder)to choose the highlighter based onHighlightParams.METHODstatic SolrInputDocumentRealTimeGetComponent. getInputDocument(SolrCore core, org.apache.lucene.util.BytesRef idBytes, AtomicLong versionReturned, Set<String> onlyTheseNonStoredDVs, RealTimeGetComponent.Resolution resolveStrategy)Obtains the latest document for a given id from the tlog or through the realtime searcher (if not found in the tlog).static SolrInputDocumentRealTimeGetComponent. getInputDocument(SolrCore core, org.apache.lucene.util.BytesRef idBytes, RealTimeGetComponent.Resolution lookupStrategy)Obtains the latest document for a given id from the tlog or index (if not found in the tlog).static SolrInputDocumentRealTimeGetComponent. getInputDocumentFromTlog(SolrCore core, org.apache.lucene.util.BytesRef idBytes, AtomicLong versionReturned, Set<String> onlyTheseNonStoredDVs, boolean resolveFullDocument)returns the SolrInputDocument from the current tlog, or DELETED if it has been deleted, or null if there is no record of it in the current update log.voidExpandComponent. inform(SolrCore core)voidHighlightComponent. inform(SolrCore core)voidQueryElevationComponent. inform(SolrCore core)voidSearchHandler. inform(SolrCore core)Initialize the components based on name.voidSpellCheckComponent. inform(SolrCore core)voidSuggestComponent. inform(SolrCore core)voidTermVectorComponent. inform(SolrCore core)protected intQueryElevationComponent. loadElevationConfiguration(SolrCore core)(Re)Loads elevation configuration. -
Uses of SolrCore in org.apache.solr.highlight
Fields in org.apache.solr.highlight declared as SolrCore Modifier and Type Field Description protected SolrCoreDefaultSolrHighlighter. solrCoreConstructors in org.apache.solr.highlight with parameters of type SolrCore Constructor Description DefaultSolrHighlighter(SolrCore solrCore) -
Uses of SolrCore in org.apache.solr.logging
Methods in org.apache.solr.logging with parameters of type SolrCore Modifier and Type Method Description static voidMDCLoggingContext. setCore(SolrCore core) -
Uses of SolrCore in org.apache.solr.metrics
Fields in org.apache.solr.metrics declared as SolrCore Modifier and Type Field Description protected SolrCoreSolrCoreReporter. coreMethods in org.apache.solr.metrics that return SolrCore Modifier and Type Method Description SolrCoreSolrCoreMetricManager. getCore()SolrCoreSolrCoreReporter. getCore()Methods in org.apache.solr.metrics with parameters of type SolrCore Modifier and Type Method Description static StringSolrCoreMetricManager. createRegistryName(SolrCore aCore, String coreName)This method is used byCoreContainer.rename(String, String).voidSolrCoreReporter. init(PluginInfo pluginInfo, SolrCore core)voidSolrMetricManager. loadReporter(String registry, SolrCore solrCore, PluginInfo pluginInfo, String tag)Convenience wrapper forSolrMetricManager.loadReporter(String, SolrResourceLoader, CoreContainer, SolrCore, PluginInfo, String)passinggetResourceLoader()andgetCoreContainer()as the extra parameters.voidSolrMetricManager. loadReporter(String registry, SolrResourceLoader loader, CoreContainer coreContainer, SolrCore solrCore, PluginInfo pluginInfo, String tag)Create and register an instance ofSolrMetricReporter.voidSolrMetricManager. loadReporters(PluginInfo[] pluginInfos, SolrResourceLoader loader, CoreContainer coreContainer, SolrCore solrCore, String tag, SolrInfoBean.Group group, String... registryNames)Create and registerSolrMetricReporter-s specific to aSolrInfoBean.Group.voidSolrMetricManager. loadShardReporters(PluginInfo[] pluginInfos, SolrCore core)Constructors in org.apache.solr.metrics with parameters of type SolrCore Constructor Description SolrCoreMetricManager(SolrCore core)Constructs a metric manager. -
Uses of SolrCore in org.apache.solr.metrics.reporters.solr
Methods in org.apache.solr.metrics.reporters.solr with parameters of type SolrCore Modifier and Type Method Description voidSolrShardReporter. init(PluginInfo pluginInfo, SolrCore core) -
Uses of SolrCore in org.apache.solr.request
Fields in org.apache.solr.request declared as SolrCore Modifier and Type Field Description protected SolrCoreSolrQueryRequestBase. coreMethods in org.apache.solr.request that return SolrCore Modifier and Type Method Description SolrCoreSolrQueryRequest. getCore()The solr core (coordinator, etc) associated with this requestSolrCoreSolrQueryRequestBase. getCore()Constructors in org.apache.solr.request with parameters of type SolrCore Constructor Description LocalSolrQueryRequest(SolrCore core, String query, String qtype, int start, int limit, Map args)LocalSolrQueryRequest(SolrCore core, Map<String,String[]> args)LocalSolrQueryRequest(SolrCore core, SolrParams args)LocalSolrQueryRequest(SolrCore core, NamedList args)SolrQueryRequestBase(SolrCore core, SolrParams params)SolrQueryRequestBase(SolrCore core, SolrParams params, RTimerTree requestTimer) -
Uses of SolrCore in org.apache.solr.rest
Methods in org.apache.solr.rest that return SolrCore Modifier and Type Method Description SolrCoreBaseSolrResource. getSolrCore() -
Uses of SolrCore in org.apache.solr.schema
Methods in org.apache.solr.schema with parameters of type SolrCore Modifier and Type Method Description static ManagedIndexSchemaSchemaManager. getFreshManagedSchema(SolrCore core)voidManagedIndexSchemaFactory. inform(SolrCore core)Constructors in org.apache.solr.schema with parameters of type SolrCore Constructor Description ExternalFileFieldReloader(SolrCore core)ZkIndexSchemaReader(ManagedIndexSchemaFactory managedIndexSchemaFactory, SolrCore solrCore) -
Uses of SolrCore in org.apache.solr.search
Methods in org.apache.solr.search that return SolrCore Modifier and Type Method Description SolrCoreSolrIndexSearcher. getCore()Constructors in org.apache.solr.search with parameters of type SolrCore Constructor Description SolrIndexSearcher(SolrCore core, String path, IndexSchema schema, String name, org.apache.lucene.index.DirectoryReader r, boolean closeReader, boolean enableCache, boolean reserveDirectory, DirectoryFactory directoryFactory)SolrIndexSearcher(SolrCore core, String path, IndexSchema schema, SolrIndexConfig config, String name, boolean enableCache, DirectoryFactory directoryFactory) -
Uses of SolrCore in org.apache.solr.search.similarities
Methods in org.apache.solr.search.similarities with parameters of type SolrCore Modifier and Type Method Description voidSchemaSimilarityFactory. inform(SolrCore core) -
Uses of SolrCore in org.apache.solr.servlet
Fields in org.apache.solr.servlet declared as SolrCore Modifier and Type Field Description protected SolrCoreDirectSolrConnection. coreprotected SolrCoreHttpSolrCall. coreMethods in org.apache.solr.servlet that return SolrCore Modifier and Type Method Description SolrCoreHttpSolrCall. getCore()protected SolrCoreHttpSolrCall. getCoreByCollection(String collectionName, boolean isPreferLeader)Methods in org.apache.solr.servlet with parameters of type SolrCore Modifier and Type Method Description SolrQueryRequestSolrRequestParsers. buildRequestFrom(SolrCore core, SolrParams params, Collection<ContentStream> streams)SolrQueryRequestSolrRequestParsers. parse(SolrCore core, String path, javax.servlet.http.HttpServletRequest req)Constructors in org.apache.solr.servlet with parameters of type SolrCore Constructor Description DirectSolrConnection(SolrCore c)Initialize using an explicit SolrCore -
Uses of SolrCore in org.apache.solr.spelling
Methods in org.apache.solr.spelling with parameters of type SolrCore Modifier and Type Method Description voidConjunctionSolrSpellChecker. build(SolrCore core, SolrIndexSearcher searcher)voidDirectSolrSpellChecker. build(SolrCore core, SolrIndexSearcher searcher)voidFileBasedSpellChecker. build(SolrCore core, SolrIndexSearcher searcher)voidIndexBasedSpellChecker. build(SolrCore core, SolrIndexSearcher searcher)abstract voidSolrSpellChecker. build(SolrCore core, SolrIndexSearcher searcher)(re)Builds the spelling index.voidWordBreakSolrSpellChecker. build(SolrCore core, SolrIndexSearcher searcher)StringAbstractLuceneSpellChecker. init(NamedList config, SolrCore core)StringConjunctionSolrSpellChecker. init(NamedList config, SolrCore core)StringDirectSolrSpellChecker. init(NamedList config, SolrCore core)StringFileBasedSpellChecker. init(NamedList config, SolrCore core)StringIndexBasedSpellChecker. init(NamedList config, SolrCore core)StringSolrSpellChecker. init(NamedList config, SolrCore core)StringWordBreakSolrSpellChecker. init(NamedList config, SolrCore core)voidAbstractLuceneSpellChecker. reload(SolrCore core, SolrIndexSearcher searcher)voidConjunctionSolrSpellChecker. reload(SolrCore core, SolrIndexSearcher searcher)voidDirectSolrSpellChecker. reload(SolrCore core, SolrIndexSearcher searcher)voidIndexBasedSpellChecker. reload(SolrCore core, SolrIndexSearcher searcher)abstract voidSolrSpellChecker. reload(SolrCore core, SolrIndexSearcher searcher)Reloads the index.voidWordBreakSolrSpellChecker. reload(SolrCore core, SolrIndexSearcher searcher) -
Uses of SolrCore in org.apache.solr.spelling.suggest
Fields in org.apache.solr.spelling.suggest declared as SolrCore Modifier and Type Field Description protected SolrCoreSuggester. coreMethods in org.apache.solr.spelling.suggest with parameters of type SolrCore Modifier and Type Method Description voidSolrSuggester. build(SolrCore core, SolrIndexSearcher searcher)Build the underlying Lucene SuggestervoidSuggester. build(SolrCore core, SolrIndexSearcher searcher)abstract org.apache.lucene.search.spell.DictionaryDictionaryFactory. create(SolrCore core, SolrIndexSearcher searcher)Create a Dictionary using options incoreand optionally usessearcher, in case of index based dictionariesorg.apache.lucene.search.spell.DictionaryDocumentDictionaryFactory. create(SolrCore core, SolrIndexSearcher searcher)org.apache.lucene.search.spell.DictionaryDocumentExpressionDictionaryFactory. create(SolrCore core, SolrIndexSearcher searcher)org.apache.lucene.search.spell.DictionaryFileDictionaryFactory. create(SolrCore core, SolrIndexSearcher searcher)org.apache.lucene.search.spell.DictionaryHighFrequencyDictionaryFactory. create(SolrCore core, SolrIndexSearcher searcher)abstract org.apache.lucene.search.suggest.LookupLookupFactory. create(NamedList params, SolrCore core)Create a Lookup using config options inparamsand currentcoreStringSolrSuggester. init(NamedList<?> config, SolrCore core)Uses theconfigand thecoreto initialize the underlying Lucene suggesterStringSuggester. init(NamedList config, SolrCore core)voidSolrSuggester. reload(SolrCore core, SolrIndexSearcher searcher)Reloads the underlying Lucene SuggestervoidSuggester. reload(SolrCore core, SolrIndexSearcher searcher) -
Uses of SolrCore in org.apache.solr.spelling.suggest.fst
Methods in org.apache.solr.spelling.suggest.fst with parameters of type SolrCore Modifier and Type Method Description org.apache.lucene.search.suggest.LookupAnalyzingInfixLookupFactory. create(NamedList params, SolrCore core)org.apache.lucene.search.suggest.LookupAnalyzingLookupFactory. create(NamedList params, SolrCore core)org.apache.lucene.search.suggest.LookupBlendedInfixLookupFactory. create(NamedList params, SolrCore core)org.apache.lucene.search.suggest.LookupFreeTextLookupFactory. create(NamedList params, SolrCore core)org.apache.lucene.search.suggest.LookupFSTLookupFactory. create(NamedList params, SolrCore core)org.apache.lucene.search.suggest.LookupFuzzyLookupFactory. create(NamedList params, SolrCore core)org.apache.lucene.search.suggest.LookupWFSTLookupFactory. create(NamedList params, SolrCore core) -
Uses of SolrCore in org.apache.solr.spelling.suggest.jaspell
Methods in org.apache.solr.spelling.suggest.jaspell with parameters of type SolrCore Modifier and Type Method Description org.apache.lucene.search.suggest.LookupJaspellLookupFactory. create(NamedList params, SolrCore core) -
Uses of SolrCore in org.apache.solr.spelling.suggest.tst
Methods in org.apache.solr.spelling.suggest.tst with parameters of type SolrCore Modifier and Type Method Description org.apache.lucene.search.suggest.LookupTSTLookupFactory. create(NamedList params, SolrCore core) -
Uses of SolrCore in org.apache.solr.update
Fields in org.apache.solr.update declared as SolrCore Modifier and Type Field Description protected SolrCoreUpdateHandler. coreFields in org.apache.solr.update with type parameters of type SolrCore Modifier and Type Field Description List<SolrCore>SplitIndexCommand. coresMethods in org.apache.solr.update with parameters of type SolrCore Modifier and Type Method Description voidHdfsUpdateLog. clearLog(SolrCore core, PluginInfo ulogPluginInfo)Clears the logs on the file system.voidUpdateLog. clearLog(SolrCore core, PluginInfo ulogPluginInfo)Clears the logs on the file system.voidDefaultSolrCoreState. closeIndexWriter(SolrCore core, boolean rollback)abstract voidSolrCoreState. closeIndexWriter(SolrCore core, boolean rollback)Expert method that closes the IndexWriter - you must callSolrCoreState.openIndexWriter(SolrCore)in a finally block after calling this method.static SolrIndexWriterSolrIndexWriter. create(SolrCore core, String name, String path, DirectoryFactory directoryFactory, boolean create, IndexSchema schema, SolrIndexConfig config, org.apache.lucene.index.IndexDeletionPolicy delPolicy, org.apache.lucene.codecs.Codec codec)protected SolrIndexWriterDefaultSolrCoreState. createMainIndexWriter(SolrCore core, String name)static IndexFingerprintIndexFingerprint. getFingerprint(SolrCore core, long maxVersion)Opens a new realtime searcher and returns it's (possibly cached) fingerprintRefCounted<org.apache.lucene.index.IndexWriter>DefaultSolrCoreState. getIndexWriter(SolrCore core)abstract RefCounted<org.apache.lucene.index.IndexWriter>SolrCoreState. getIndexWriter(SolrCore core)Get the current IndexWriter.protected StringUpdateLog. getTlogDir(SolrCore core, PluginInfo info)voidUpdateHandler. informEventListeners(SolrCore core)Call theSolrCoreAware.inform(SolrCore)on all the applicable registered listeners.voidCdcrUpdateLog. init(UpdateHandler uhandler, SolrCore core)voidHdfsUpdateLog. init(UpdateHandler uhandler, SolrCore core)voidUpdateLog. init(UpdateHandler uhandler, SolrCore core)voidDefaultSolrCoreState. newIndexWriter(SolrCore core, boolean rollback)abstract voidSolrCoreState. newIndexWriter(SolrCore core, boolean rollback)Force the creation of a new IndexWriter using the settings from the given SolrCore.voidDefaultSolrCoreState. openIndexWriter(SolrCore core)abstract voidSolrCoreState. openIndexWriter(SolrCore core)Expert method that opens the IndexWriter - you must callSolrCoreState.closeIndexWriter(SolrCore, boolean)first, and then call this method in a finally block.voidDefaultSolrCoreState. rollbackIndexWriter(SolrCore core)abstract voidSolrCoreState. rollbackIndexWriter(SolrCore core)Rollback the current IndexWriter.org.apache.lucene.index.IndexWriterConfigSolrIndexConfig. toIndexWriterConfig(SolrCore core)Constructors in org.apache.solr.update with parameters of type SolrCore Constructor Description CommitTracker(String name, SolrCore core, int docsUpperBound, int timeUpperBound, long tLogFileSizeUpperBound, boolean openSearcher, boolean softCommit)DirectUpdateHandler2(SolrCore core)DirectUpdateHandler2(SolrCore core, UpdateHandler updateHandler)PeerSync(SolrCore core, List<String> replicas, int nUpdates, boolean cantReachIsSuccess)PeerSync(SolrCore core, List<String> replicas, int nUpdates, boolean cantReachIsSuccess, boolean onlyIfActive, boolean doFingerprint)PeerSyncWithLeader(SolrCore core, String leaderUrl, int nUpdates)UpdateHandler(SolrCore core)UpdateHandler(SolrCore core, UpdateLog updateLog) -
Uses of SolrCore in org.apache.solr.update.processor
Methods in org.apache.solr.update.processor with parameters of type SolrCore Modifier and Type Method Description static UpdateRequestProcessorChainUpdateRequestProcessorChain. constructChain(UpdateRequestProcessorChain defaultUrp, UpdateRequestProcessorChain.ProcessorInfo processorInfo, SolrCore core)static FieldMutatingUpdateProcessor.FieldNameSelectorFieldMutatingUpdateProcessor. createFieldNameSelector(SolrResourceLoader loader, SolrCore core, FieldMutatingUpdateProcessorFactory.SelectorParams params, FieldMutatingUpdateProcessor.FieldNameSelector defSelector)Utility method that can be used to define a FieldNameSelector using the same types of rules as the FieldMutatingUpdateProcessor init code.FieldMutatingUpdateProcessor.FieldNameSelectorConcatFieldUpdateProcessorFactory. getDefaultSelector(SolrCore core)FieldMutatingUpdateProcessor.FieldNameSelectorFieldLengthUpdateProcessorFactory. getDefaultSelector(SolrCore core)protected FieldMutatingUpdateProcessor.FieldNameSelectorFieldMutatingUpdateProcessorFactory. getDefaultSelector(SolrCore core)Defines the default selection behavior when the user has not configured any specific criteria for selecting fields.FieldMutatingUpdateProcessor.FieldNameSelectorFirstFieldValueUpdateProcessorFactory. getDefaultSelector(SolrCore core)FieldMutatingUpdateProcessor.FieldNameSelectorHTMLStripFieldUpdateProcessorFactory. getDefaultSelector(SolrCore core)FieldMutatingUpdateProcessor.FieldNameSelectorIgnoreFieldUpdateProcessorFactory. getDefaultSelector(SolrCore core)FieldMutatingUpdateProcessor.FieldNameSelectorLastFieldValueUpdateProcessorFactory. getDefaultSelector(SolrCore core)FieldMutatingUpdateProcessor.FieldNameSelectorMaxFieldValueUpdateProcessorFactory. getDefaultSelector(SolrCore core)FieldMutatingUpdateProcessor.FieldNameSelectorMinFieldValueUpdateProcessorFactory. getDefaultSelector(SolrCore core)FieldMutatingUpdateProcessor.FieldNameSelectorParseBooleanFieldUpdateProcessorFactory. getDefaultSelector(SolrCore core)Returns true if the field doesn't match any schema field or dynamic field, or if the matched field's type is BoolFieldFieldMutatingUpdateProcessor.FieldNameSelectorParseDateFieldUpdateProcessorFactory. getDefaultSelector(SolrCore core)Returns true if the field doesn't match any schema field or dynamic field, or if the matched field's type is BoolFieldFieldMutatingUpdateProcessor.FieldNameSelectorParseNumericFieldUpdateProcessorFactory. getDefaultSelector(SolrCore core)Returns true if the field doesn't match any schema field or dynamic field, or if the matched field's type is compatibleprotected FieldMutatingUpdateProcessor.FieldNameSelectorRegexReplaceProcessorFactory. getDefaultSelector(SolrCore core)FieldMutatingUpdateProcessor.FieldNameSelectorTruncateFieldUpdateProcessorFactory. getDefaultSelector(SolrCore core)FieldMutatingUpdateProcessor.FieldNameSelectorUniqFieldsUpdateProcessorFactory. getDefaultSelector(SolrCore core)voidAddSchemaFieldsUpdateProcessorFactory. inform(SolrCore core)voidAtomicUpdateProcessorFactory. inform(SolrCore core)voidCloneFieldUpdateProcessorFactory. inform(SolrCore core)voidDocBasedVersionConstraintsProcessorFactory. inform(SolrCore core)voidDocExpirationUpdateProcessorFactory. inform(SolrCore core)voidFieldMutatingUpdateProcessorFactory. inform(SolrCore core)voidPreAnalyzedUpdateProcessorFactory. inform(SolrCore core)voidSignatureUpdateProcessorFactory. inform(SolrCore core)voidSkipExistingDocumentsProcessorFactory. inform(SolrCore core)voidStatelessScriptUpdateProcessorFactory. inform(SolrCore core)voidTolerantUpdateProcessorFactory. inform(SolrCore core)Constructors in org.apache.solr.update.processor with parameters of type SolrCore Constructor Description UpdateRequestProcessorChain(List<UpdateRequestProcessorFactory> chain, SolrCore solrCore)Creates a chain backed directly by the specified list.UpdateRequestProcessorChain(SolrCore solrCore) -
Uses of SolrCore in org.apache.solr.util.plugin
Methods in org.apache.solr.util.plugin with parameters of type SolrCore Modifier and Type Method Description voidSolrCoreAware. inform(SolrCore core)
-