Package | Description |
---|---|
org.apache.solr.cloud.api.collections |
Package related to internal implementations of the SolrCloud collections api
|
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 |
Modifier and Type | Method and Description |
---|---|
String |
RoutedAlias.createCollectionsIfRequired(AddUpdateCommand cmd)
Create any required collections and return the name of the collection to which the current document should be sent.
|
org.apache.solr.cloud.api.collections.RoutedAlias.CandidateCollection |
CategoryRoutedAlias.findCandidateGivenValue(AddUpdateCommand cmd) |
org.apache.solr.cloud.api.collections.RoutedAlias.CandidateCollection |
TimeRoutedAlias.findCandidateGivenValue(AddUpdateCommand cmd)
Given the route key, finds the correct collection and an indication of any collection that needs to be created.
|
org.apache.solr.cloud.api.collections.RoutedAlias.CandidateCollection |
DimensionalRoutedAlias.findCandidateGivenValue(AddUpdateCommand cmd) |
protected String |
CategoryRoutedAlias.getHeadCollectionIfOrdered(AddUpdateCommand cmd) |
protected abstract String |
RoutedAlias.getHeadCollectionIfOrdered(AddUpdateCommand cmd)
Calculate the head collection (i.e.
|
protected String |
TimeRoutedAlias.getHeadCollectionIfOrdered(AddUpdateCommand cmd) |
protected String |
DimensionalRoutedAlias.getHeadCollectionIfOrdered(AddUpdateCommand cmd) |
void |
CategoryRoutedAlias.validateRouteValue(AddUpdateCommand cmd) |
abstract void |
RoutedAlias.validateRouteValue(AddUpdateCommand cmd)
Check that the value we will be routing on is legal for this type of routed alias.
|
void |
TimeRoutedAlias.validateRouteValue(AddUpdateCommand cmd) |
void |
DimensionalRoutedAlias.validateRouteValue(AddUpdateCommand cmd) |
Modifier and Type | Method and Description |
---|---|
static AddUpdateCommand |
UpdateLog.convertTlogEntryToAddUpdateCommand(SolrQueryRequest req,
List entry,
int operation,
long version)
Given a entry from the transaction log containing a document, return a new AddUpdateCommand that
can be applied to ADD the document or do an UPDATE_INPLACE.
|
Modifier and Type | Method and Description |
---|---|
void |
UpdateLog.add(AddUpdateCommand cmd) |
void |
UpdateLog.add(AddUpdateCommand cmd,
boolean clearCaches) |
void |
CdcrUpdateLog.add(AddUpdateCommand cmd,
boolean clearCaches) |
abstract int |
UpdateHandler.addDoc(AddUpdateCommand cmd) |
int |
DirectUpdateHandler2.addDoc(AddUpdateCommand cmd) |
void |
SolrCmdDistributor.distribAdd(AddUpdateCommand cmd,
List<SolrCmdDistributor.Node> nodes,
ModifiableSolrParams params) |
void |
SolrCmdDistributor.distribAdd(AddUpdateCommand cmd,
List<SolrCmdDistributor.Node> nodes,
ModifiableSolrParams params,
boolean synchronous) |
void |
SolrCmdDistributor.distribAdd(AddUpdateCommand cmd,
List<SolrCmdDistributor.Node> nodes,
ModifiableSolrParams params,
boolean synchronous,
DistributedUpdateProcessor.RollupRequestReplicationTracker rollupTracker,
DistributedUpdateProcessor.LeaderRequestReplicationTracker leaderTracker) |
long |
TransactionLog.write(AddUpdateCommand cmd)
Writes an add update command to the transaction log.
|
long |
TransactionLog.write(AddUpdateCommand cmd,
long prevPointer)
Writes an add update command to the transaction log.
|
long |
CdcrTransactionLog.write(AddUpdateCommand cmd,
long prevPointer) |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
AtomicUpdateDocumentMerger.computeInPlaceUpdatableFields(AddUpdateCommand cmd)
Given an add update command, compute a list of fields that can be updated in-place.
|
protected void |
DistributedZkUpdateProcessor.doDistribAdd(AddUpdateCommand cmd) |
protected void |
DistributedUpdateProcessor.doDistribAdd(AddUpdateCommand cmd) |
boolean |
AtomicUpdateDocumentMerger.doInPlaceUpdateMerge(AddUpdateCommand cmd,
Set<String> updatedFields)
Given an AddUpdateCommand containing update operations (e.g.
|
static boolean |
AtomicUpdateDocumentMerger.isAtomicUpdate(AddUpdateCommand cmd)
Utility method that examines the SolrInputDocument in an AddUpdateCommand
and returns true if the documents contains atomic update instructions.
|
protected void |
TemplateUpdateProcessorFactory.process(AddUpdateCommand cmd,
SolrQueryRequest req,
SolrQueryResponse rsp) |
protected abstract void |
SimpleUpdateProcessorFactory.process(AddUpdateCommand cmd,
SolrQueryRequest req,
SolrQueryResponse rsp)
This object is reused across requests.
|
void |
DistributedZkUpdateProcessor.processAdd(AddUpdateCommand cmd) |
void |
URLClassifyProcessor.processAdd(AddUpdateCommand command) |
void |
RoutedAliasUpdateProcessor.processAdd(AddUpdateCommand cmd) |
void |
DistributedUpdateProcessor.processAdd(AddUpdateCommand cmd) |
void |
TolerantUpdateProcessor.processAdd(AddUpdateCommand cmd) |
void |
FieldMutatingUpdateProcessor.processAdd(AddUpdateCommand cmd)
Calls
mutate on any fields identified by the selector
before forwarding the command down the chain. |
void |
RegexpBoostProcessor.processAdd(AddUpdateCommand command) |
void |
UpdateRequestProcessor.processAdd(AddUpdateCommand cmd) |
void |
DocBasedVersionConstraintsProcessor.processAdd(AddUpdateCommand cmd) |
void |
RegexpBoostProcessor.processBoost(AddUpdateCommand command) |
protected boolean |
DistributedUpdateProcessor.versionAdd(AddUpdateCommand cmd) |
protected boolean |
CdcrUpdateProcessor.versionAdd(AddUpdateCommand cmd) |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.