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 implementin Solr internals and the management of
SolrCore s |
org.apache.solr.handler |
Concrete implementations of
SolrRequestHandler |
org.apache.solr.handler.admin |
SolrRequestHandler implementations for powering he Solr Admin UI |
org.apache.solr.handler.component |
SearchComponent implementations for
use in SearchHandler |
org.apache.solr.highlight |
SolrHighlighter API and related implementaions and utilities |
org.apache.solr.request |
APIs and classes for dealing with Solr requests
|
org.apache.solr.schema |
IndexSchema and FieldType implementations for powering schema.xml |
org.apache.solr.search |
APIs and classes for parsing and processing search requests
|
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 API
|
org.apache.solr.spelling |
APIs and classes used by the
SpellCheckComponent |
org.apache.solr.spelling.suggest |
APIs and classes used by the
SpellCheckComponent |
org.apache.solr.spelling.suggest.fst | |
org.apache.solr.spelling.suggest.jaspell | |
org.apache.solr.spelling.suggest.tst | |
org.apache.solr.update |
APIs and classes for managing index updates
|
org.apache.solr.update.processor |
UpdateRequestProcessorFactory APIs and implementations for use in UpdateRequestProcessorChain s |
org.apache.solr.util.plugin |
Common APIs related to implementing Solr plugins
|
Constructor and Description |
---|
EmbeddedSolrServer(SolrCore core)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
RecoveryStrategy.doRecovery(SolrCore core) |
boolean |
SyncStrategy.sync(ZkController zkController,
SolrCore core,
ZkNodeProps leaderProps) |
Modifier and Type | Field and Description |
---|---|
protected SolrCore |
RequestHandlers.core |
Modifier and Type | Field and Description |
---|---|
static Map<SolrCore,Exception> |
SolrCore.openHandles |
Modifier and Type | Method and Description |
---|---|
SolrCore |
CoreContainer.create(CoreDescriptor dcore)
Creates a new core based on a descriptor but does not register it.
|
SolrCore |
AbstractSolrEventListener.getCore() |
SolrCore |
CoreContainer.getCore(String name)
Gets a core by name and increase its refcount.
|
SolrCore |
CoreContainer.register(SolrCore core,
boolean returnPrev)
Registers a SolrCore descriptor in the registry using the core's name.
|
SolrCore |
CoreContainer.register(String name,
SolrCore core,
boolean returnPrev) |
protected SolrCore |
CoreContainer.registerCore(boolean isTransientCore,
String name,
SolrCore core,
boolean returnPrevNotClosed) |
protected SolrCore |
CoreContainer.registerCore(boolean isTransientCore,
String name,
SolrCore core,
boolean returnPrevNotClosed,
boolean registerInZk) |
SolrCore |
SolrCore.reload(SolrCore prev) |
SolrCore |
SolrCore.reload(SolrResourceLoader resourceLoader,
SolrCore prev) |
SolrCore |
CoreContainer.remove(String name)
Removes and returns registered core w/o decrementing it's reference count
|
Modifier and Type | Method and Description |
---|---|
Collection<SolrCore> |
CoreContainer.getCores() |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
CoreContainer.getCoreNames(SolrCore core)
This method is currently experimental.
|
void |
SchemaCodecFactory.inform(SolrCore core) |
void |
SolrResourceLoader.inform(SolrCore core)
Tell all
SolrCoreAware instances about the SolrCore |
abstract DirectoryReader |
IndexReaderFactory.newReader(Directory indexDir,
SolrCore core)
Creates a new IndexReader instance using the given Directory.
|
DirectoryReader |
StandardIndexReaderFactory.newReader(Directory indexDir,
SolrCore core) |
abstract DirectoryReader |
IndexReaderFactory.newReader(IndexWriter writer,
SolrCore core)
Creates a new IndexReader instance using the given IndexWriter.
|
DirectoryReader |
StandardIndexReaderFactory.newReader(IndexWriter writer,
SolrCore core) |
abstract 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. |
abstract 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 |
CoreContainer.register(SolrCore core,
boolean returnPrev)
Registers a SolrCore descriptor in the registry using the core's name.
|
SolrCore |
CoreContainer.register(String name,
SolrCore core,
boolean returnPrev) |
protected SolrCore |
CoreContainer.registerCore(boolean isTransientCore,
String name,
SolrCore core,
boolean returnPrevNotClosed) |
protected SolrCore |
CoreContainer.registerCore(boolean isTransientCore,
String name,
SolrCore core,
boolean returnPrevNotClosed,
boolean registerInZk) |
void |
ZkContainer.registerInZk(SolrCore core,
boolean background) |
SolrCore |
SolrCore.reload(SolrCore prev) |
SolrCore |
SolrCore.reload(SolrResourceLoader resourceLoader,
SolrCore prev) |
Modifier and Type | Method and Description |
---|---|
void |
ZkContainer.publishCoresAsDown(List<SolrCore> cores) |
Constructor and Description |
---|
AbstractSolrEventListener(SolrCore core) |
QuerySenderListener(SolrCore core) |
RequestHandlers.LazyRequestHandlerWrapper(SolrCore core,
String className,
NamedList args) |
RequestHandlers(SolrCore core) |
SolrCore.LazyQueryResponseWriterWrapper(SolrCore core,
String className,
NamedList args) |
SolrCore(String name,
String dataDir,
SolrConfig config,
IndexSchema schema,
CoreDescriptor cd,
UpdateHandler updateHandler,
IndexDeletionPolicyWrapper delPolicy,
SolrCore prev)
Creates a new core and register it in the list of cores.
|
Modifier and Type | Method and Description |
---|---|
void |
ReplicationHandler.inform(SolrCore core) |
void |
PingRequestHandler.inform(SolrCore core) |
Constructor and Description |
---|
SnapPuller(NamedList initArgs,
ReplicationHandler handler,
SolrCore sc) |
SnapShooter(SolrCore core,
String location) |
Modifier and Type | Method and Description |
---|---|
void |
AdminHandlers.inform(SolrCore core) |
void |
LoggingHandler.inform(SolrCore core) |
Modifier and Type | Method and Description |
---|---|
static SolrHighlighter |
HighlightComponent.getHighlighter(SolrCore core) |
static SolrInputDocument |
RealTimeGetComponent.getInputDocument(SolrCore core,
BytesRef idBytes) |
static SolrInputDocument |
RealTimeGetComponent.getInputDocumentFromTlog(SolrCore core,
BytesRef idBytes)
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 |
TermVectorComponent.inform(SolrCore core) |
void |
QueryElevationComponent.inform(SolrCore core) |
void |
HighlightComponent.inform(SolrCore core) |
void |
SearchHandler.inform(SolrCore core)
Initialize the components based on name.
|
void |
SpellCheckComponent.inform(SolrCore core) |
Constructor and Description |
---|
DefaultSolrHighlighter(SolrCore solrCore) |
Modifier and Type | Field and Description |
---|---|
protected SolrCore |
SolrQueryRequestBase.core |
Modifier and Type | Method and Description |
---|---|
SolrCore |
SolrQueryRequestBase.getCore() |
SolrCore |
SolrQueryRequest.getCore()
The solr core (coordinator, etc) associated with this request
|
Constructor and Description |
---|
LocalSolrQueryRequest(SolrCore core,
Map<String,String[]> args) |
LocalSolrQueryRequest(SolrCore core,
NamedList args) |
LocalSolrQueryRequest(SolrCore core,
SolrParams args) |
LocalSolrQueryRequest(SolrCore core,
String query,
String qtype,
int start,
int limit,
Map args) |
SolrQueryRequestBase(SolrCore core,
SolrParams params) |
Modifier and Type | Method and Description |
---|---|
void |
ManagedIndexSchemaFactory.inform(SolrCore core) |
Constructor and Description |
---|
ExternalFileFieldReloader(SolrCore core) |
Modifier and Type | Method and Description |
---|---|
SolrCore |
SolrIndexSearcher.getCore() |
Constructor and Description |
---|
SolrIndexSearcher(SolrCore core,
String path,
IndexSchema schema,
SolrIndexConfig config,
String name,
boolean enableCache,
DirectoryFactory directoryFactory) |
SolrIndexSearcher(SolrCore core,
String path,
IndexSchema schema,
SolrIndexConfig config,
String name,
DirectoryReader r,
boolean closeReader,
boolean enableCache,
boolean reserveDirectory,
DirectoryFactory directoryFactory) |
Modifier and Type | Method and Description |
---|---|
void |
SchemaSimilarityFactory.inform(SolrCore core) |
Modifier and Type | Field and Description |
---|---|
protected SolrCore |
DirectSolrConnection.core |
Modifier and Type | Method and Description |
---|---|
SolrQueryRequest |
SolrRequestParsers.buildRequestFrom(SolrCore core,
SolrParams params,
Collection<ContentStream> streams) |
SolrQueryRequest |
SolrRequestParsers.parse(SolrCore core,
String path,
javax.servlet.http.HttpServletRequest req) |
protected void |
SolrDispatchFilter.sendError(SolrCore core,
SolrQueryRequest req,
javax.servlet.ServletRequest request,
javax.servlet.http.HttpServletResponse response,
Throwable ex) |
Constructor and Description |
---|
DirectSolrConnection(SolrCore c)
Initialize using an explicit SolrCore
|
Modifier and Type | Method and Description |
---|---|
abstract void |
SolrSpellChecker.build(SolrCore core,
SolrIndexSearcher searcher)
(re)Builds the spelling index.
|
void |
WordBreakSolrSpellChecker.build(SolrCore core,
SolrIndexSearcher searcher) |
void |
FileBasedSpellChecker.build(SolrCore core,
SolrIndexSearcher searcher) |
void |
IndexBasedSpellChecker.build(SolrCore core,
SolrIndexSearcher searcher) |
void |
ConjunctionSolrSpellChecker.build(SolrCore core,
SolrIndexSearcher searcher) |
void |
DirectSolrSpellChecker.build(SolrCore core,
SolrIndexSearcher searcher) |
String |
SolrSpellChecker.init(NamedList config,
SolrCore core) |
String |
WordBreakSolrSpellChecker.init(NamedList config,
SolrCore core) |
String |
FileBasedSpellChecker.init(NamedList config,
SolrCore core) |
String |
AbstractLuceneSpellChecker.init(NamedList config,
SolrCore core) |
String |
IndexBasedSpellChecker.init(NamedList config,
SolrCore core) |
String |
ConjunctionSolrSpellChecker.init(NamedList config,
SolrCore core) |
String |
DirectSolrSpellChecker.init(NamedList config,
SolrCore core) |
abstract void |
SolrSpellChecker.reload(SolrCore core,
SolrIndexSearcher searcher)
Reloads the index.
|
void |
WordBreakSolrSpellChecker.reload(SolrCore core,
SolrIndexSearcher searcher) |
void |
AbstractLuceneSpellChecker.reload(SolrCore core,
SolrIndexSearcher searcher) |
void |
IndexBasedSpellChecker.reload(SolrCore core,
SolrIndexSearcher searcher) |
void |
ConjunctionSolrSpellChecker.reload(SolrCore core,
SolrIndexSearcher searcher) |
void |
DirectSolrSpellChecker.reload(SolrCore core,
SolrIndexSearcher searcher) |
Modifier and Type | Field and Description |
---|---|
protected SolrCore |
Suggester.core |
Modifier and Type | Method and Description |
---|---|
void |
Suggester.build(SolrCore core,
SolrIndexSearcher searcher) |
abstract Lookup |
LookupFactory.create(NamedList params,
SolrCore core) |
String |
Suggester.init(NamedList config,
SolrCore core) |
void |
Suggester.reload(SolrCore core,
SolrIndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
Lookup |
AnalyzingInfixLookupFactory.create(NamedList params,
SolrCore core) |
Lookup |
WFSTLookupFactory.create(NamedList params,
SolrCore core) |
Lookup |
FSTLookupFactory.create(NamedList params,
SolrCore core) |
Lookup |
FuzzyLookupFactory.create(NamedList params,
SolrCore core) |
Lookup |
AnalyzingLookupFactory.create(NamedList params,
SolrCore core) |
Modifier and Type | Method and Description |
---|---|
Lookup |
JaspellLookupFactory.create(NamedList params,
SolrCore core) |
Modifier and Type | Method and Description |
---|---|
Lookup |
TSTLookupFactory.create(NamedList params,
SolrCore core) |
Modifier and Type | Field and Description |
---|---|
protected SolrCore |
UpdateHandler.core |
Modifier and Type | Field and Description |
---|---|
List<SolrCore> |
SplitIndexCommand.cores |
Modifier and Type | Method and Description |
---|---|
void |
HdfsUpdateLog.clearLog(SolrCore core,
PluginInfo ulogPluginInfo)
Clears the logs on the file system.
|
void |
UpdateLog.clearLog(SolrCore core,
PluginInfo ulogPluginInfo)
Clears the logs on the file system.
|
void |
DefaultSolrCoreState.closeIndexWriter(SolrCore core,
boolean rollback) |
abstract void |
SolrCoreState.closeIndexWriter(SolrCore core,
boolean rollback)
Expert method that closes the IndexWriter - you must call
SolrCoreState.openIndexWriter(SolrCore)
in a finally block after calling this method. |
protected SolrIndexWriter |
DefaultSolrCoreState.createMainIndexWriter(SolrCore core,
String name) |
RefCounted<IndexWriter> |
DefaultSolrCoreState.getIndexWriter(SolrCore core) |
abstract RefCounted<IndexWriter> |
SolrCoreState.getIndexWriter(SolrCore core)
Get the current IndexWriter.
|
protected String |
UpdateLog.getTlogDir(SolrCore core,
PluginInfo info) |
void |
HdfsUpdateLog.init(UpdateHandler uhandler,
SolrCore core) |
void |
UpdateLog.init(UpdateHandler uhandler,
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 call
SolrCoreState.closeIndexWriter(SolrCore, boolean)
first, and then call this method in a finally block. |
void |
DefaultSolrCoreState.rollbackIndexWriter(SolrCore core) |
abstract void |
SolrCoreState.rollbackIndexWriter(SolrCore core)
Rollback the current IndexWriter.
|
static void |
PeerSync.sync(SolrCore core,
List<String> replicas,
int nUpdates)
Requests and applies recent updates from peers
|
Constructor and Description |
---|
CommitTracker(String name,
SolrCore core,
int docsUpperBound,
int timeUpperBound,
boolean openSearcher,
boolean softCommit) |
DirectUpdateHandler2(SolrCore core) |
DirectUpdateHandler2(SolrCore core,
UpdateHandler updateHandler) |
PeerSync(SolrCore core,
List<String> replicas,
int nUpdates) |
PeerSync(SolrCore core,
List<String> replicas,
int nUpdates,
boolean cantReachIsSuccess,
boolean getNoVersionsIsSuccess) |
UpdateHandler(SolrCore core) |
UpdateHandler(SolrCore core,
UpdateLog updateLog) |
Constructor and Description |
---|
SplitIndexCommand(SolrQueryRequest req,
List<String> paths,
List<SolrCore> cores,
List<DocRouter.Range> ranges,
DocRouter router,
String routeFieldName,
String splitKey) |
Modifier and Type | Method and Description |
---|---|
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 |
UniqFieldsUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
FieldMutatingUpdateProcessor.FieldNameSelector |
LastFieldValueUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
FieldMutatingUpdateProcessor.FieldNameSelector |
IgnoreFieldUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
FieldMutatingUpdateProcessor.FieldNameSelector |
MinFieldValueUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
FieldMutatingUpdateProcessor.FieldNameSelector |
MaxFieldValueUpdateProcessorFactory.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 |
ConcatFieldUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
FieldMutatingUpdateProcessor.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 BoolField
|
FieldMutatingUpdateProcessor.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 compatible
|
protected FieldMutatingUpdateProcessor.FieldNameSelector |
RegexReplaceProcessorFactory.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 BoolField
|
FieldMutatingUpdateProcessor.FieldNameSelector |
FirstFieldValueUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
FieldMutatingUpdateProcessor.FieldNameSelector |
HTMLStripFieldUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
FieldMutatingUpdateProcessor.FieldNameSelector |
TruncateFieldUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
FieldMutatingUpdateProcessor.FieldNameSelector |
FieldLengthUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
void |
StatelessScriptUpdateProcessorFactory.inform(SolrCore core) |
void |
DocBasedVersionConstraintsProcessorFactory.inform(SolrCore core) |
void |
SignatureUpdateProcessorFactory.inform(SolrCore core) |
void |
FieldMutatingUpdateProcessorFactory.inform(SolrCore core) |
void |
PreAnalyzedUpdateProcessorFactory.inform(SolrCore core) |
void |
CloneFieldUpdateProcessorFactory.inform(SolrCore core) |
void |
AddSchemaFieldsUpdateProcessorFactory.inform(SolrCore core) |
Constructor and Description |
---|
UpdateRequestProcessorChain(SolrCore solrCore) |
UpdateRequestProcessorChain(UpdateRequestProcessorFactory[] chain,
SolrCore solrCore)
Creates a chain backed directly by the specified array.
|
Modifier and Type | Method and Description |
---|---|
void |
SolrCoreAware.inform(SolrCore core) |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.