Java org.apache.solr.core SolrCore fields, constructors, methods, implement or subclass

Example usage for Java org.apache.solr.core SolrCore fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.solr.core SolrCore.

The text is from its open source code.

Field

Method

voidaddCloseHook(CloseHook hook)
Add a close callback hook
voidclose()
Close all resources allocated by the core if it is no longer in use...
TcreateInitInstance(PluginInfo info, Class cast, String msg, String defClassName)
voidexecute(SolrRequestHandler handler, SolrQueryRequest req, SolrQueryResponse rsp)
StringgetConfigResource()
Gets the configuration resource name used by this core instance.
CoreContainergetCoreContainer()
CoreDescriptorgetCoreDescriptor()
StringgetDataDir()
DirectoryFactorygetDirectoryFactory()
StringgetIndexDir()
MapgetInfoRegistry()
Returns a Map of name vs SolrInfoBean objects.
IndexSchemagetLatestSchema()
StringgetName()
RefCountedgetNewestSearcher(boolean openNew)
Return the newest normal RefCounted < SolrIndexSearcher > with the reference count incremented.
intgetOpenCount()
Current core usage count.
QueryResponseWritergetQueryResponseWriter(String writerName)
Finds a writer by name, or returns the default writer if not found.
QueryResponseWritergetQueryResponseWriter(SolrQueryRequest request)
Returns the appropriate writer for a request.
SolrRequestHandlergetRequestHandler(String handlerName)
Get the request handler registered to a given name.
SolrResourceLoadergetResourceLoader()
The SolrResourceLoader used to load all resources for this core.
StringgetSchemaResource()
Gets the schema resource name used by this core instance.
SearchComponentgetSearchComponent(String name)
PluginBaggetSearchComponents()
Accessor for all the Search Components
RefCountedgetSearcher()
Return a registered RefCounted < SolrIndexSearcher > with the reference count incremented.
RefCountedgetSearcher(boolean forceNew, boolean returnSearcher, final Future[] waitSearcher)
SolrConfiggetSolrConfig()
Gets the configuration object used by this core instance.
UpdateHandlergetUpdateHandler()
RequestHandlers need access to the updateHandler so they can all talk to the same RAM indexer.
UpdateRequestProcessorChaingetUpdateProcessingChain(final String name)
TinitPlugins(Map registry, Class type)
booleanisClosed()
Whether this core is closed.
voidpostDecorateResponse(SolrRequestHandler handler, SolrQueryRequest req, SolrQueryResponse rsp)
Put status, QTime, and possibly request handler and params, in the response header
voidpreDecorateResponse(SolrQueryRequest req, SolrQueryResponse rsp)
voidregisterFirstSearcherListener(SolrEventListener listener)
NOTE: this function is not thread safe.
voidregisterNewSearcherListener(SolrEventListener listener)
NOTE: this function is not thread safe.
voidsetLatestSchema(IndexSchema replacementSchema)
Sets the latest schema snapshot to be used by this core instance.