Example usage for Java org.apache.solr.core SolrCore fields, constructors, methods, implement or subclass
The text is from its open source code.
String | version |
Logger | log |
Map | DEFAULT_RESPONSE_WRITERS |
void | addCloseHook(CloseHook hook) Add a close callback hook |
void | close() Close all resources allocated by the core if it is no longer in use... |
T | createInitInstance(PluginInfo info, Class |
void | execute(SolrRequestHandler handler, SolrQueryRequest req, SolrQueryResponse rsp) |
String | getConfigResource() Gets the configuration resource name used by this core instance. |
CoreContainer | getCoreContainer() |
CoreDescriptor | getCoreDescriptor() |
String | getDataDir() |
DirectoryFactory | getDirectoryFactory() |
String | getIndexDir() |
Map | getInfoRegistry() Returns a Map of name vs SolrInfoBean objects. |
IndexSchema | getLatestSchema() |
String | getName() |
RefCounted | getNewestSearcher(boolean openNew) Return the newest normal RefCounted < SolrIndexSearcher > with the reference count incremented. |
int | getOpenCount() Current core usage count. |
QueryResponseWriter | getQueryResponseWriter(String writerName) Finds a writer by name, or returns the default writer if not found. |
QueryResponseWriter | getQueryResponseWriter(SolrQueryRequest request) Returns the appropriate writer for a request. |
SolrRequestHandler | getRequestHandler(String handlerName) Get the request handler registered to a given name. |
SolrResourceLoader | getResourceLoader() The SolrResourceLoader used to load all resources for this core. |
String | getSchemaResource() Gets the schema resource name used by this core instance. |
SearchComponent | getSearchComponent(String name) |
PluginBag | getSearchComponents() Accessor for all the Search Components |
RefCounted | getSearcher() Return a registered RefCounted < SolrIndexSearcher > with the reference count incremented. |
RefCounted | getSearcher(boolean forceNew, boolean returnSearcher, final Future[] waitSearcher) |
SolrConfig | getSolrConfig() Gets the configuration object used by this core instance. |
UpdateHandler | getUpdateHandler() RequestHandlers need access to the updateHandler so they can all talk to the same RAM indexer. |
UpdateRequestProcessorChain | getUpdateProcessingChain(final String name) |
T | initPlugins(Map |
boolean | isClosed() Whether this core is closed. |
void | postDecorateResponse(SolrRequestHandler handler, SolrQueryRequest req, SolrQueryResponse rsp) Put status, QTime, and possibly request handler and params, in the response header |
void | preDecorateResponse(SolrQueryRequest req, SolrQueryResponse rsp) |
void | registerFirstSearcherListener(SolrEventListener listener) NOTE: this function is not thread safe. |
void | registerNewSearcherListener(SolrEventListener listener) NOTE: this function is not thread safe. |
void | setLatestSchema(IndexSchema replacementSchema) Sets the latest schema snapshot to be used by this core instance. |