Uses of Class
org.apache.solr.core.SolrCore
-
Packages that use SolrCore Package Description org.apache.solr.api Commonly used classes for Solr V2 API.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 ofSolrCore
sorg.apache.solr.core.snapshots Core classes for Solr's persistent snapshots functionalityorg.apache.solr.handler Concrete implementations ofSolrRequestHandler
org.apache.solr.handler.admin.api V2 API implementations for "admin" APIs.org.apache.solr.handler.component SearchComponent
implementations for use inSearchHandler
org.apache.solr.highlight SolrHighlighter
API and related implementations and utilitiesorg.apache.solr.jersey Jersey integration codeorg.apache.solr.logging APIs related to capturing log event info in theLoggingHandler
org.apache.solr.metrics TheSolrCoreMetricManager
is responsible for collecting metrics fromSolrMetricProducer
's and exposing metrics toSolrMetricReporter
's.org.apache.solr.pkg Package management implementationorg.apache.solr.request APIs and classes for dealing with Solr requestsorg.apache.solr.rest Solr RESTful APIs.org.apache.solr.schema IndexSchema
andFieldType
implementations for powering schema.xmlorg.apache.solr.search APIs and classes for parsing and processing search requestsorg.apache.solr.search.join Classes related to joins.org.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 theSpellCheckComponent
org.apache.solr.spelling.suggest APIs and classes used by theSpellCheckComponent
org.apache.solr.spelling.suggest.fst Factories for FST and Analyzing basedSuggester
sorg.apache.solr.spelling.suggest.jaspell org.apache.solr.spelling.suggest.tst Factories for TST basedSuggester
sorg.apache.solr.update APIs and classes for managing index updatesorg.apache.solr.update.processor UpdateRequestProcessorFactory
APIs and implementations for use inUpdateRequestProcessorChain
sorg.apache.solr.util Common utility classes used throughout Solrorg.apache.solr.util.circuitbreaker Support for triggering exceptions on excessive resource usageorg.apache.solr.util.plugin Common APIs related to implementing Solr plugins -
-
Uses of SolrCore in org.apache.solr.api
Methods in org.apache.solr.api that return SolrCore Modifier and Type Method Description protected SolrCore
CoordinatorV2HttpSolrCall. getCoreByCollection(String collectionName, boolean isPreferLeader)
-
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 void
RecoveryStrategy. doRecovery(SolrCore core)
void
RecoveryStrategy. doSyncOrReplicateRecovery(SolrCore core)
static String
ReplicateFromLeader. getCommitVersion(SolrCore solrCore)
void
ZkController. 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.PeerSyncResult
SyncStrategy. sync(ZkController zkController, SolrCore core, org.apache.solr.common.cloud.ZkNodeProps leaderProps)
PeerSync.PeerSyncResult
SyncStrategy. sync(ZkController zkController, SolrCore core, org.apache.solr.common.cloud.ZkNodeProps leaderProps, boolean peerSyncOnlyWithActive)
-
Uses of SolrCore in org.apache.solr.core
Subclasses of SolrCore in org.apache.solr.core Modifier and Type Class Description class
SyntheticSolrCore
A synthetic core that is created only in memory and not registered against Zookeeper.Fields in org.apache.solr.core with type parameters of type SolrCore Modifier and Type Field Description protected com.github.benmanes.caffeine.cache.Cache<String,SolrCore>
TransientSolrCoreCacheDefault. transientCores
Deprecated."Lazily loaded" cores cache with limited size.Methods in org.apache.solr.core that return SolrCore Modifier and Type Method Description abstract SolrCore
TransientSolrCoreCache. addCore(String name, SolrCore core)
Deprecated.Adds the newly-opened core to the list of open cores.SolrCore
TransientSolrCoreCacheDefault. addCore(String name, SolrCore core)
Deprecated.protected SolrCore
SolrCore. cloneForReloadCore(CoreDescriptor newCoreDescriptor, ConfigSet newCoreConfig, boolean cloneCoreState)
Clones the current core for core reload, with the provided CoreDescriptor and ConfigSet.SolrCore
CoreContainer. 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 clusterSolrCore
CoreContainer. create(String coreName, Map<String,String> parameters)
Creates a new core, publishing the core state to the clusterSolrCore
AbstractSolrEventListener. getCore()
SolrCore
CoreContainer. getCore(String name)
SolrCore
CoreContainer. getCore(String name, UUID id)
Gets a core by name and increase its refcount.abstract SolrCore
TransientSolrCoreCache. getCore(String name)
Deprecated.Gets the core associated with the name.SolrCore
TransientSolrCoreCacheDefault. getCore(String name)
Deprecated.SolrCore
SolrCores. getCoreFromAnyList(String name, boolean incRefCount)
SolrCore
SolrCores. getCoreFromAnyList(String name, boolean incRefCount, UUID coreId)
SolrCore
SolrCores. getCoreToClose()
protected SolrCore
SolrCores. getLoadedCoreWithoutIncrement(String name)
(internal) Return a core that is already loaded, if it is.protected SolrCore
TransientSolrCores. getLoadedCoreWithoutIncrement(String name)
Deprecated.SolrCore
SolrCores. putCore(CoreDescriptor cd, SolrCore core)
SolrCore
TransientSolrCores. putCore(CoreDescriptor cd, SolrCore core)
Deprecated.protected SolrCore
CoreContainer. registerCore(CoreDescriptor cd, SolrCore core, boolean registerInZk, boolean skipRecovery)
SolrCore
SolrCore. reload(ConfigSet coreConfig)
SolrCore
SolrCores. remove(String name)
SolrCore
TransientSolrCores. remove(String name)
Deprecated.abstract SolrCore
TransientSolrCoreCache. removeCore(String name)
Deprecated.Removes a core from the internal structures, presumably it being closed.SolrCore
TransientSolrCoreCacheDefault. removeCore(String name)
Deprecated.SolrCore
SolrCores. waitAddPendingCoreOps(String name)
Methods in org.apache.solr.core that return types with arguments of type SolrCore Modifier and Type Method Description List<SolrCore>
CoreContainer. getCores()
Deprecated.List<SolrCore>
SolrCores. getCores()
Deprecated.Methods in org.apache.solr.core with parameters of type SolrCore Modifier and Type Method Description abstract SolrCore
TransientSolrCoreCache. addCore(String name, SolrCore core)
Deprecated.Adds the newly-opened core to the list of open cores.SolrCore
TransientSolrCoreCacheDefault. addCore(String name, SolrCore core)
Deprecated.boolean
CoreContainer. checkTragicException(SolrCore solrCore)
static <T> T
SolrCore. createInstance(String className, Class<T> cast, String msg, SolrCore core, org.apache.lucene.util.ResourceLoader resourceLoader)
Creates an instance by trying a constructor that accepts a SolrCore before trying the default (no arg) constructor.static Runnable
SolrCore. getConfListener(SolrCore core, ZkSolrResourceLoader zkSolrResourceLoader)
void
SchemaCodecFactory. inform(SolrCore core)
void
SolrResourceLoader. inform(SolrCore core)
Tell allSolrCoreAware
instances about the SolrCoreabstract org.apache.lucene.index.DirectoryReader
IndexReaderFactory. newReader(org.apache.lucene.index.IndexWriter writer, SolrCore core)
Creates a new IndexReader instance using the given IndexWriter.abstract org.apache.lucene.index.DirectoryReader
IndexReaderFactory. newReader(org.apache.lucene.store.Directory indexDir, SolrCore core)
Creates a new IndexReader instance using the given Directory.org.apache.lucene.index.DirectoryReader
StandardIndexReaderFactory. newReader(org.apache.lucene.index.IndexWriter writer, SolrCore core)
org.apache.lucene.index.DirectoryReader
StandardIndexReaderFactory. newReader(org.apache.lucene.store.Directory indexDir, SolrCore core)
default void
CloseHook. 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.default void
CloseHook. 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.SolrCore
SolrCores. putCore(CoreDescriptor cd, SolrCore core)
SolrCore
TransientSolrCores. putCore(CoreDescriptor cd, SolrCore core)
Deprecated.void
SolrCores. queueCoreToClose(SolrCore coreToClose)
protected SolrCore
CoreContainer. registerCore(CoreDescriptor cd, SolrCore core, boolean registerInZk, boolean skipRecovery)
void
ZkContainer. registerInZk(SolrCore core, boolean background, boolean skipRecovery)
protected void
SolrResourceLoader. setSolrCore(SolrCore core)
Method parameters in org.apache.solr.core with type arguments of type SolrCore Modifier and Type Method Description void
SolrCore.Provider. withCore(Consumer<SolrCore> r)
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)
SolrCore(CoreContainer coreContainer, CoreDescriptor coreDescriptor, ConfigSet configSet, String dataDir, UpdateHandler updateHandler, IndexDeletionPolicyWrapper delPolicy, SolrCore prev, boolean reload)
SyntheticSolrCore(CoreContainer coreContainer, CoreDescriptor coreDescriptor, ConfigSet configSet, String dataDir, UpdateHandler updateHandler, IndexDeletionPolicyWrapper delPolicy, SolrCore prev, boolean reload)
-
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 void
SolrSnapshotManager. deleteNonSnapshotIndexFiles(SolrCore core, org.apache.lucene.store.Directory dir, Collection<SolrSnapshotMetaDataManager.SnapshotMetaData> snapshots)
This method deletes index files not associated with the specifiedsnapshots
.static void
SolrSnapshotManager. 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 void
StreamHandler. addExpressiblePlugins(StreamFactory streamFactory, SolrCore core)
static RestoreCore
RestoreCore. create(BackupRepository backupRepo, SolrCore core, URI location, String backupname)
static RestoreCore
RestoreCore. createWithMetaFile(BackupRepository repo, SolrCore core, URI location, ShardBackupId shardBackupId)
static void
ReplicationHandler. doSnapShoot(int numberToKeep, int numberBackupsToKeep, String location, String repoName, String commitName, String name, SolrCore core, Consumer<org.apache.solr.common.util.NamedList<?>> result)
static org.apache.lucene.index.IndexCommit
SnapShooter. getAndSaveNamedIndexCommit(SolrCore solrCore, String commitName)
static boolean
SolrConfigHandler. getImmutable(SolrCore core)
void
DumpRequestHandler. inform(SolrCore core)
void
ExportHandler. inform(SolrCore core)
void
GraphHandler. inform(SolrCore core)
void
PingRequestHandler. inform(SolrCore core)
void
ReplicationHandler. inform(SolrCore core)
void
SchemaHandler. inform(SolrCore core)
void
SolrConfigHandler. inform(SolrCore core)
void
StreamHandler. inform(SolrCore core)
protected Object
StreamHandler.ExpressibleHolder. initNewInstance(SolrPackageLoader.SolrPackage.Version newest, SolrCore core)
void
ReplicationHandler.PollListener. onComplete(SolrCore solrCore, IndexFetcher.IndexFetchResult fetchResult)
Constructors in org.apache.solr.handler with parameters of type SolrCore Constructor Description ExpressibleHolder(PluginInfo info, SolrCore core, SolrConfig.SolrPluginInfo pluginMeta)
IncrementalShardBackup(BackupRepository backupRepo, SolrCore solrCore, BackupFilePaths incBackupFiles, ShardBackupId prevShardBackupId, ShardBackupId shardBackupId, Optional<String> commitNameOption)
IndexFetcher(org.apache.solr.common.util.NamedList<?> initArgs, ReplicationHandler handler, SolrCore sc)
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.api
Fields in org.apache.solr.handler.admin.api declared as SolrCore Modifier and Type Field Description protected SolrCore
GetSchema. solrCore
protected SolrCore
ReplicationAPIBase. solrCore
Methods in org.apache.solr.handler.admin.api with parameters of type SolrCore Modifier and Type Method Description protected void
SnapshotBackupAPI. doSnapShoot(int numberToKeep, int numberBackupsToKeep, String location, String repoName, String commitName, String name, SolrCore solrCore, Consumer<org.apache.solr.common.util.NamedList<?>> resultConsumer)
Separate method helps with testingConstructors in org.apache.solr.handler.admin.api with parameters of type SolrCore Constructor Description CoreReplicationAPI(SolrCore solrCore, SolrQueryRequest req, SolrQueryResponse rsp)
GetSchema(SolrCore solrCore, IndexSchema indexSchema)
ReplicationAPIBase(SolrCore solrCore, SolrQueryRequest solrQueryRequest, SolrQueryResponse solrQueryResponse)
SnapshotBackupAPI(SolrCore solrCore, ReplicationHandler.ReplicationHandlerConfig replicationHandlerConfig)
-
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 protected long
QueryElevationComponent. getConfigVersion(SolrCore core)
Returns a version number for the config file, or -1 if not supported.protected QueryElevationComponent.ElevationProvider
QueryElevationComponent. getElevationProvider(org.apache.lucene.index.IndexReader reader, SolrCore core)
Gets theQueryElevationComponent.ElevationProvider
; typically cached.static org.apache.solr.common.SolrInputDocument
RealTimeGetComponent. getInputDocument(SolrCore core, org.apache.lucene.util.BytesRef idBytes, org.apache.lucene.util.BytesRef rootIdBytes, AtomicLong versionReturned, Set<String> onlyTheseFields, 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 org.apache.solr.common.SolrInputDocument
RealTimeGetComponent. getInputDocumentFromTlog(SolrCore core, org.apache.lucene.util.BytesRef idBytes, AtomicLong versionReturned, Set<String> onlyTheseFields, RealTimeGetComponent.Resolution resolution)
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.void
HighlightComponent. inform(SolrCore core)
void
QueryElevationComponent. inform(SolrCore core)
void
SearchHandler. inform(SolrCore core)
Initialize the components based on name.void
SpellCheckComponent. inform(SolrCore core)
void
SuggestComponent. inform(SolrCore core)
void
TaskManagementHandler. inform(SolrCore core)
protected int
QueryElevationComponent. loadElevationConfiguration(SolrCore core)
(Re)Loads elevation configuration.protected QueryElevationComponent.ElevationProvider
QueryElevationComponent. loadElevationProvider(SolrCore core)
Loads theQueryElevationComponent.ElevationProvider
. -
Uses of SolrCore in org.apache.solr.highlight
Fields in org.apache.solr.highlight declared as SolrCore Modifier and Type Field Description protected SolrCore
DefaultSolrHighlighter. solrCore
Constructors in org.apache.solr.highlight with parameters of type SolrCore Constructor Description DefaultSolrHighlighter(SolrCore solrCore)
-
Uses of SolrCore in org.apache.solr.jersey
Methods in org.apache.solr.jersey that return SolrCore Modifier and Type Method Description SolrCore
InjectionFactories.ReuseFromContextSolrCoreFactory. provide()
Methods in org.apache.solr.jersey with parameters of type SolrCore Modifier and Type Method Description void
InjectionFactories.ReuseFromContextSolrCoreFactory. dispose(SolrCore instance)
-
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 void
MDCLoggingContext. setCore(SolrCore core)
Sets multiple information from the params. -
Uses of SolrCore in org.apache.solr.metrics
Fields in org.apache.solr.metrics declared as SolrCore Modifier and Type Field Description protected SolrCore
SolrCoreReporter. core
Methods in org.apache.solr.metrics that return SolrCore Modifier and Type Method Description SolrCore
SolrCoreMetricManager. getCore()
SolrCore
SolrCoreReporter. getCore()
Methods in org.apache.solr.metrics with parameters of type SolrCore Modifier and Type Method Description static String
SolrCoreMetricManager. createRegistryName(SolrCore aCore, String coreName)
This method is used byCoreContainer.rename(String, String)
.void
SolrCoreReporter. init(PluginInfo pluginInfo, SolrCore core)
void
SolrMetricManager. 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.void
SolrMetricManager. loadReporter(String registry, SolrResourceLoader loader, CoreContainer coreContainer, SolrCore solrCore, PluginInfo pluginInfo, String tag)
Create and register an instance ofSolrMetricReporter
.void
SolrMetricManager. loadReporters(PluginInfo[] pluginInfos, SolrResourceLoader loader, CoreContainer coreContainer, SolrCore solrCore, String tag, SolrInfoBean.Group group, String... registryNames)
Create and registerSolrMetricReporter
-s specific to aSolrInfoBean.Group
.void
SolrMetricManager. 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.pkg
Methods in org.apache.solr.pkg with parameters of type SolrCore Modifier and Type Method Description static <T> PluginBag.PluginHolder<T>
PackagePluginHolder. createHolder(PluginInfo info, SolrCore core, Class<T> type, String msg)
protected Object
PackagePluginHolder. initNewInstance(SolrPackageLoader.SolrPackage.Version newest, SolrCore core)
Constructors in org.apache.solr.pkg with parameters of type SolrCore Constructor Description PackageListeners(SolrCore core)
PackagePluginHolder(PluginInfo info, SolrCore core, SolrConfig.SolrPluginInfo pluginMeta)
-
Uses of SolrCore in org.apache.solr.request
Fields in org.apache.solr.request declared as SolrCore Modifier and Type Field Description protected SolrCore
SolrQueryRequestBase. core
Methods in org.apache.solr.request that return SolrCore Modifier and Type Method Description SolrCore
DelegatingSolrQueryRequest. getCore()
SolrCore
SolrQueryRequest. getCore()
The solr core (coordinator, etc) associated with this requestSolrCore
SolrQueryRequestBase. 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, org.apache.solr.common.params.SolrParams args)
LocalSolrQueryRequest(SolrCore core, org.apache.solr.common.util.NamedList<?> args)
SolrQueryRequestBase(SolrCore core, org.apache.solr.common.params.SolrParams params)
SolrQueryRequestBase(SolrCore core, org.apache.solr.common.params.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 SolrCore
BaseSolrResource. 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 void
ManagedIndexSchemaFactory. 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 SolrCore
SolrIndexSearcher. 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.join
Methods in org.apache.solr.search.join with parameters of type SolrCore Modifier and Type Method Description static String
ScoreJoinQParserPlugin. getCoreName(String fromIndex, CoreContainer container, SolrCore toCore, String toField, String fromField, org.apache.solr.common.params.SolrParams localParams)
Returns a String with the name of a core. -
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 void
SchemaSimilarityFactory. 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 SolrCore
DirectSolrConnection. core
protected SolrCore
HttpSolrCall. core
Methods in org.apache.solr.servlet that return SolrCore Modifier and Type Method Description static SolrCore
CoordinatorHttpSolrCall. getCore(CoordinatorHttpSolrCall.Factory factory, HttpSolrCall solrCall, String collectionName, boolean isPreferLeader)
SolrCore
HttpSolrCall. getCore()
protected SolrCore
CoordinatorHttpSolrCall. getCoreByCollection(String collectionName, boolean isPreferLeader)
protected SolrCore
HttpSolrCall. getCoreByCollection(String collectionName, boolean isPreferLeader)
Retrieves a SolrCore instance associated with the specified collection name, with an option to prefer leader replicas.Methods in org.apache.solr.servlet with parameters of type SolrCore Modifier and Type Method Description SolrQueryRequest
SolrRequestParsers. buildRequestFrom(SolrCore core, org.apache.solr.common.params.SolrParams params, Collection<org.apache.solr.common.util.ContentStream> streams)
For embedded Solr use; not related to HTTP.SolrQueryRequest
SolrRequestParsers. buildRequestFrom(SolrCore core, org.apache.solr.common.params.SolrParams params, Collection<org.apache.solr.common.util.ContentStream> streams, Principal principal)
SolrQueryRequest
SolrRequestParsers. 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 void
ConjunctionSolrSpellChecker. build(SolrCore core, SolrIndexSearcher searcher)
void
DirectSolrSpellChecker. build(SolrCore core, SolrIndexSearcher searcher)
void
FileBasedSpellChecker. build(SolrCore core, SolrIndexSearcher searcher)
void
IndexBasedSpellChecker. build(SolrCore core, SolrIndexSearcher searcher)
abstract void
SolrSpellChecker. build(SolrCore core, SolrIndexSearcher searcher)
(re)Builds the spelling index.void
WordBreakSolrSpellChecker. build(SolrCore core, SolrIndexSearcher searcher)
String
AbstractLuceneSpellChecker. init(org.apache.solr.common.util.NamedList<?> config, SolrCore core)
String
ConjunctionSolrSpellChecker. init(org.apache.solr.common.util.NamedList<?> config, SolrCore core)
String
DirectSolrSpellChecker. init(org.apache.solr.common.util.NamedList<?> config, SolrCore core)
String
FileBasedSpellChecker. init(org.apache.solr.common.util.NamedList<?> config, SolrCore core)
String
IndexBasedSpellChecker. init(org.apache.solr.common.util.NamedList<?> config, SolrCore core)
String
SolrSpellChecker. init(org.apache.solr.common.util.NamedList<?> config, SolrCore core)
String
WordBreakSolrSpellChecker. init(org.apache.solr.common.util.NamedList<?> config, SolrCore core)
void
AbstractLuceneSpellChecker. reload(SolrCore core, SolrIndexSearcher searcher)
void
ConjunctionSolrSpellChecker. reload(SolrCore core, SolrIndexSearcher searcher)
void
DirectSolrSpellChecker. reload(SolrCore core, SolrIndexSearcher searcher)
void
IndexBasedSpellChecker. reload(SolrCore core, SolrIndexSearcher searcher)
abstract void
SolrSpellChecker. reload(SolrCore core, SolrIndexSearcher searcher)
Reloads the index.void
WordBreakSolrSpellChecker. 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 SolrCore
Suggester. core
Methods in org.apache.solr.spelling.suggest with parameters of type SolrCore Modifier and Type Method Description void
SolrSuggester. build(SolrCore core, SolrIndexSearcher searcher)
Build the underlying Lucene Suggestervoid
Suggester. build(SolrCore core, SolrIndexSearcher searcher)
abstract org.apache.lucene.search.spell.Dictionary
DictionaryFactory. create(SolrCore core, SolrIndexSearcher searcher)
Create a Dictionary using options incore
and optionally usessearcher
, in case of index based dictionariesorg.apache.lucene.search.spell.Dictionary
DocumentDictionaryFactory. create(SolrCore core, SolrIndexSearcher searcher)
org.apache.lucene.search.spell.Dictionary
DocumentExpressionDictionaryFactory. create(SolrCore core, SolrIndexSearcher searcher)
org.apache.lucene.search.spell.Dictionary
FileDictionaryFactory. create(SolrCore core, SolrIndexSearcher searcher)
org.apache.lucene.search.spell.Dictionary
HighFrequencyDictionaryFactory. create(SolrCore core, SolrIndexSearcher searcher)
abstract org.apache.lucene.search.suggest.Lookup
LookupFactory. create(org.apache.solr.common.util.NamedList<?> params, SolrCore core)
Create a Lookup using config options inparams
and currentcore
String
SolrSuggester. init(org.apache.solr.common.util.NamedList<?> config, SolrCore core)
Uses theconfig
and thecore
to initialize the underlying Lucene suggesterString
Suggester. init(org.apache.solr.common.util.NamedList<?> config, SolrCore core)
void
Suggester. 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.Lookup
AnalyzingInfixLookupFactory. create(org.apache.solr.common.util.NamedList<?> params, SolrCore core)
org.apache.lucene.search.suggest.Lookup
AnalyzingLookupFactory. create(org.apache.solr.common.util.NamedList<?> params, SolrCore core)
org.apache.lucene.search.suggest.Lookup
BlendedInfixLookupFactory. create(org.apache.solr.common.util.NamedList<?> params, SolrCore core)
org.apache.lucene.search.suggest.Lookup
FreeTextLookupFactory. create(org.apache.solr.common.util.NamedList<?> params, SolrCore core)
org.apache.lucene.search.suggest.Lookup
FSTLookupFactory. create(org.apache.solr.common.util.NamedList<?> params, SolrCore core)
org.apache.lucene.search.suggest.Lookup
FuzzyLookupFactory. create(org.apache.solr.common.util.NamedList<?> params, SolrCore core)
org.apache.lucene.search.suggest.Lookup
WFSTLookupFactory. create(org.apache.solr.common.util.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.Lookup
JaspellLookupFactory. create(org.apache.solr.common.util.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.Lookup
TSTLookupFactory. create(org.apache.solr.common.util.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 SolrCore
UpdateHandler. core
Fields in org.apache.solr.update with type parameters of type SolrCore Modifier and Type Field Description List<SolrCore>
SplitIndexCommand. cores
Methods in org.apache.solr.update with parameters of type SolrCore Modifier and Type Method Description void
DefaultSolrCoreState. closeIndexWriter(SolrCore core, boolean rollback)
abstract void
SolrCoreState. 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 SolrIndexWriter
SolrIndexWriter. 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)
static IndexFingerprint
IndexFingerprint. 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.void
UpdateHandler. informEventListeners(SolrCore core)
Call theSolrCoreAware.inform(SolrCore)
on all the applicable registered listeners.void
UpdateLog. init(UpdateHandler uhandler, SolrCore core)
This must be called when a new log is created, or for an existing log whenever the core or update handler changes.protected void
UpdateLog. initTlogDir(SolrCore core)
Based onUpdateLog.dataDir
(whose initialization must be complete before this method is called), this method is responsible for, in order: resolving the tlog dir (in an implementation-dependent way) clearing any existing entries (if applicable) by callingUpdateLog.maybeClearLog(SolrCore)
actually creating tlog files (and handling any existing tlog files, if necessary)protected void
UpdateLog. maybeClearLog(SolrCore core)
void
DefaultSolrCoreState. newIndexWriter(SolrCore core, boolean rollback)
abstract void
SolrCoreState. newIndexWriter(SolrCore core, boolean rollback)
Force the creation of a new IndexWriter using the settings from the given SolrCore.void
DefaultSolrCoreState. openIndexWriter(SolrCore core)
abstract void
SolrCoreState. 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.protected String
UpdateLog. resolveDataDir(SolrCore core, String path)
Resolves any relative path wrt the highest core-scoped level (whatever that means for a particular implementation).void
DefaultSolrCoreState. rollbackIndexWriter(SolrCore core)
abstract void
SolrCoreState. rollbackIndexWriter(SolrCore core)
Rollback the current IndexWriter.org.apache.lucene.index.IndexWriterConfig
SolrIndexConfig. 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)
UpdateHandler(SolrCore core, UpdateLog updateLog, boolean initUlog)
Subclasses should call this ctor, with `initUlog=false` and should then, as the last action in the subclass ctor, callUpdateHandler.initUlog(boolean)
. -
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 UpdateRequestProcessorChain
UpdateRequestProcessorChain. constructChain(UpdateRequestProcessorChain defaultUrp, UpdateRequestProcessorChain.ProcessorInfo processorInfo, SolrCore core)
static FieldMutatingUpdateProcessor.FieldNameSelector
FieldMutatingUpdateProcessor. 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.FieldNameSelector
ConcatFieldUpdateProcessorFactory. getDefaultSelector(SolrCore core)
FieldMutatingUpdateProcessor.FieldNameSelector
FieldLengthUpdateProcessorFactory. getDefaultSelector(SolrCore core)
protected FieldMutatingUpdateProcessor.FieldNameSelector
FieldMutatingUpdateProcessorFactory. getDefaultSelector(SolrCore core)
Defines the default selection behavior when the user has not configured any specific criteria for selecting fields.FieldMutatingUpdateProcessor.FieldNameSelector
FirstFieldValueUpdateProcessorFactory. getDefaultSelector(SolrCore core)
FieldMutatingUpdateProcessor.FieldNameSelector
HTMLStripFieldUpdateProcessorFactory. getDefaultSelector(SolrCore core)
FieldMutatingUpdateProcessor.FieldNameSelector
IgnoreFieldUpdateProcessorFactory. getDefaultSelector(SolrCore core)
FieldMutatingUpdateProcessor.FieldNameSelector
LastFieldValueUpdateProcessorFactory. getDefaultSelector(SolrCore core)
FieldMutatingUpdateProcessor.FieldNameSelector
MaxFieldValueUpdateProcessorFactory. getDefaultSelector(SolrCore core)
FieldMutatingUpdateProcessor.FieldNameSelector
MinFieldValueUpdateProcessorFactory. getDefaultSelector(SolrCore core)
FieldMutatingUpdateProcessor.FieldNameSelector
ParseBooleanFieldUpdateProcessorFactory. 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.FieldNameSelector
ParseDateFieldUpdateProcessorFactory. 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.FieldNameSelector
ParseNumericFieldUpdateProcessorFactory. 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.FieldNameSelector
RegexReplaceProcessorFactory. getDefaultSelector(SolrCore core)
FieldMutatingUpdateProcessor.FieldNameSelector
TruncateFieldUpdateProcessorFactory. getDefaultSelector(SolrCore core)
FieldMutatingUpdateProcessor.FieldNameSelector
UniqFieldsUpdateProcessorFactory. getDefaultSelector(SolrCore core)
void
AddSchemaFieldsUpdateProcessorFactory. inform(SolrCore core)
void
AtomicUpdateProcessorFactory. inform(SolrCore core)
void
CloneFieldUpdateProcessorFactory. inform(SolrCore core)
void
DocBasedVersionConstraintsProcessorFactory. inform(SolrCore core)
void
DocExpirationUpdateProcessorFactory. inform(SolrCore core)
void
FieldMutatingUpdateProcessorFactory. inform(SolrCore core)
void
PreAnalyzedUpdateProcessorFactory. inform(SolrCore core)
void
SignatureUpdateProcessorFactory. inform(SolrCore core)
void
SkipExistingDocumentsProcessorFactory. inform(SolrCore core)
void
TolerantUpdateProcessorFactory. 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
Methods in org.apache.solr.util with parameters of type SolrCore Modifier and Type Method Description static boolean
TestInjection. injectLeaderTragedy(SolrCore core)
-
Uses of SolrCore in org.apache.solr.util.circuitbreaker
Methods in org.apache.solr.util.circuitbreaker with parameters of type SolrCore Modifier and Type Method Description void
CPUCircuitBreaker. inform(SolrCore core)
Constructors in org.apache.solr.util.circuitbreaker with parameters of type SolrCore Constructor Description CPUCircuitBreaker(SolrCore core)
Deprecated. -
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 void
SolrCoreAware. inform(SolrCore core)
-