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.rest |
Solr RESTful APIs via Restlet.
|
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) |
boolean |
SyncStrategy.sync(ZkController zkController,
SolrCore core,
ZkNodeProps leaderProps,
boolean peerSyncOnlyWithActive) |
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 cd)
Creates a new core based on a CoreDescriptor, publishing the core state to the cluster
|
SolrCore |
CoreContainer.create(CoreDescriptor dcore,
boolean publishState)
Creates a new core based on a CoreDescriptor.
|
SolrCore |
AbstractSolrEventListener.getCore() |
SolrCore |
CoreContainer.getCore(String name)
Gets a core by name and increase its refcount.
|
protected SolrCore |
CoreContainer.registerCore(String name,
SolrCore core,
boolean registerInZk) |
SolrCore |
SolrCore.reload(ConfigSet coreConfig,
SolrCore prev) |
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 |
SolrResourceLoader.inform(SolrCore core)
Tell all
SolrCoreAware instances about the SolrCore |
void |
SchemaCodecFactory.inform(SolrCore core) |
DirectoryReader |
StandardIndexReaderFactory.newReader(Directory indexDir,
SolrCore core) |
abstract DirectoryReader |
IndexReaderFactory.newReader(Directory indexDir,
SolrCore core)
Creates a new IndexReader instance using the given Directory.
|
DirectoryReader |
StandardIndexReaderFactory.newReader(IndexWriter writer,
SolrCore core) |
abstract DirectoryReader |
IndexReaderFactory.newReader(IndexWriter writer,
SolrCore core)
Creates a new IndexReader instance using the given IndexWriter.
|
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. |
protected SolrCore |
CoreContainer.registerCore(String name,
SolrCore core,
boolean registerInZk) |
void |
ZkContainer.registerInZk(SolrCore core,
boolean background) |
SolrCore |
SolrCore.reload(ConfigSet coreConfig,
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,
String snapshotName) |
Modifier and Type | Method and Description |
---|---|
void |
LoggingHandler.inform(SolrCore core) |
void |
AdminHandlers.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 |
SuggestComponent.inform(SolrCore core) |
void |
SpellCheckComponent.inform(SolrCore core) |
void |
SearchHandler.inform(SolrCore core)
Initialize the components based on name.
|
void |
QueryElevationComponent.inform(SolrCore core) |
void |
HighlightComponent.inform(SolrCore core) |
void |
ExpandComponent.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 |
---|---|
SolrCore |
BaseSolrResource.getSolrCore() |
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 |
---|---|
void |
WordBreakSolrSpellChecker.build(SolrCore core,
SolrIndexSearcher searcher) |
abstract void |
SolrSpellChecker.build(SolrCore core,
SolrIndexSearcher searcher)
(re)Builds the spelling index.
|
void |
IndexBasedSpellChecker.build(SolrCore core,
SolrIndexSearcher searcher) |
void |
FileBasedSpellChecker.build(SolrCore core,
SolrIndexSearcher searcher) |
void |
DirectSolrSpellChecker.build(SolrCore core,
SolrIndexSearcher searcher) |
void |
ConjunctionSolrSpellChecker.build(SolrCore core,
SolrIndexSearcher searcher) |
String |
WordBreakSolrSpellChecker.init(NamedList config,
SolrCore core) |
String |
SolrSpellChecker.init(NamedList config,
SolrCore core) |
String |
IndexBasedSpellChecker.init(NamedList config,
SolrCore core) |
String |
FileBasedSpellChecker.init(NamedList config,
SolrCore core) |
String |
DirectSolrSpellChecker.init(NamedList config,
SolrCore core) |
String |
ConjunctionSolrSpellChecker.init(NamedList config,
SolrCore core) |
String |
AbstractLuceneSpellChecker.init(NamedList config,
SolrCore core) |
void |
WordBreakSolrSpellChecker.reload(SolrCore core,
SolrIndexSearcher searcher) |
abstract void |
SolrSpellChecker.reload(SolrCore core,
SolrIndexSearcher searcher)
Reloads the index.
|
void |
IndexBasedSpellChecker.reload(SolrCore core,
SolrIndexSearcher searcher) |
void |
DirectSolrSpellChecker.reload(SolrCore core,
SolrIndexSearcher searcher) |
void |
ConjunctionSolrSpellChecker.reload(SolrCore core,
SolrIndexSearcher searcher) |
void |
AbstractLuceneSpellChecker.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) |
void |
SolrSuggester.build(SolrCore core,
SolrIndexSearcher searcher)
Build the underlying Lucene Suggester
|
abstract Lookup |
LookupFactory.create(NamedList params,
SolrCore core)
Create a Lookup using config options in
params and
current core |
Dictionary |
HighFrequencyDictionaryFactory.create(SolrCore core,
SolrIndexSearcher searcher) |
Dictionary |
FileDictionaryFactory.create(SolrCore core,
SolrIndexSearcher searcher) |
Dictionary |
DocumentExpressionDictionaryFactory.create(SolrCore core,
SolrIndexSearcher searcher) |
Dictionary |
DocumentDictionaryFactory.create(SolrCore core,
SolrIndexSearcher searcher) |
abstract Dictionary |
DictionaryFactory.create(SolrCore core,
SolrIndexSearcher searcher)
Create a Dictionary using options in
core and optionally
uses searcher , in case of index based dictionaries |
String |
SolrSuggester.init(NamedList<?> config,
SolrCore core)
Uses the
config and the core to initialize the underlying
Lucene suggester |
String |
Suggester.init(NamedList config,
SolrCore core) |
void |
Suggester.reload(SolrCore core,
SolrIndexSearcher searcher) |
void |
SolrSuggester.reload(SolrCore core,
SolrIndexSearcher searcher)
Reloads the underlying Lucene Suggester
|
Modifier and Type | Method and Description |
---|---|
Lookup |
WFSTLookupFactory.create(NamedList params,
SolrCore core) |
Lookup |
FuzzyLookupFactory.create(NamedList params,
SolrCore core) |
Lookup |
FSTLookupFactory.create(NamedList params,
SolrCore core) |
Lookup |
FreeTextLookupFactory.create(NamedList params,
SolrCore core) |
Lookup |
BlendedInfixLookupFactory.create(NamedList params,
SolrCore core) |
Lookup |
AnalyzingLookupFactory.create(NamedList params,
SolrCore core) |
Lookup |
AnalyzingInfixLookupFactory.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 |
UpdateLog.clearLog(SolrCore core,
PluginInfo ulogPluginInfo)
Clears the logs on the file system.
|
void |
HdfsUpdateLog.clearLog(SolrCore core,
PluginInfo ulogPluginInfo)
Clears the logs on the file system.
|
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. |
void |
DefaultSolrCoreState.closeIndexWriter(SolrCore core,
boolean rollback) |
protected SolrIndexWriter |
DefaultSolrCoreState.createMainIndexWriter(SolrCore core,
String name) |
abstract RefCounted<IndexWriter> |
SolrCoreState.getIndexWriter(SolrCore core)
Get the current IndexWriter.
|
RefCounted<IndexWriter> |
DefaultSolrCoreState.getIndexWriter(SolrCore core) |
protected String |
UpdateLog.getTlogDir(SolrCore core,
PluginInfo info) |
void |
UpdateLog.init(UpdateHandler uhandler,
SolrCore core) |
void |
HdfsUpdateLog.init(UpdateHandler uhandler,
SolrCore core) |
abstract void |
SolrCoreState.newIndexWriter(SolrCore core,
boolean rollback)
Force the creation of a new IndexWriter using the settings from the given
SolrCore.
|
void |
DefaultSolrCoreState.newIndexWriter(SolrCore core,
boolean rollback) |
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.openIndexWriter(SolrCore core) |
abstract void |
SolrCoreState.rollbackIndexWriter(SolrCore core)
Rollback the current IndexWriter.
|
void |
DefaultSolrCoreState.rollbackIndexWriter(SolrCore core) |
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) |
PeerSync(SolrCore core,
List<String> replicas,
int nUpdates,
boolean cantReachIsSuccess,
boolean getNoVersionsIsSuccess,
boolean onlyIfActive) |
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 |
TruncateFieldUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
protected FieldMutatingUpdateProcessor.FieldNameSelector |
RegexReplaceProcessorFactory.getDefaultSelector(SolrCore core) |
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
|
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 |
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 |
MinFieldValueUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
FieldMutatingUpdateProcessor.FieldNameSelector |
MaxFieldValueUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
FieldMutatingUpdateProcessor.FieldNameSelector |
LastFieldValueUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
FieldMutatingUpdateProcessor.FieldNameSelector |
IgnoreFieldUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
FieldMutatingUpdateProcessor.FieldNameSelector |
HTMLStripFieldUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
FieldMutatingUpdateProcessor.FieldNameSelector |
FirstFieldValueUpdateProcessorFactory.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 |
FieldLengthUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
FieldMutatingUpdateProcessor.FieldNameSelector |
ConcatFieldUpdateProcessorFactory.getDefaultSelector(SolrCore core) |
void |
StatelessScriptUpdateProcessorFactory.inform(SolrCore core) |
void |
SignatureUpdateProcessorFactory.inform(SolrCore core) |
void |
PreAnalyzedUpdateProcessorFactory.inform(SolrCore core) |
void |
FieldMutatingUpdateProcessorFactory.inform(SolrCore core) |
void |
DocExpirationUpdateProcessorFactory.inform(SolrCore core) |
void |
DocBasedVersionConstraintsProcessorFactory.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.