Uses of Class
org.apache.solr.update.AddUpdateCommand
-
Packages that use AddUpdateCommand Package Description org.apache.solr.cloud.api.collections Package related to internal implementations of the SolrCloud collections apiorg.apache.solr.handler.loader ContentStreamLoader
implementations for use inContentStreamHandlerBase
implementationsorg.apache.solr.update APIs and classes for managing index updatesorg.apache.solr.update.processor UpdateRequestProcessorFactory
APIs and implementations for use inUpdateRequestProcessorChain
s -
-
Uses of AddUpdateCommand in org.apache.solr.cloud.api.collections
Methods in org.apache.solr.cloud.api.collections with parameters of type AddUpdateCommand Modifier and Type Method 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
DimensionalRoutedAlias. 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.protected String
CategoryRoutedAlias. getHeadCollectionIfOrdered(AddUpdateCommand cmd)
protected String
DimensionalRoutedAlias. getHeadCollectionIfOrdered(AddUpdateCommand cmd)
protected abstract String
RoutedAlias. getHeadCollectionIfOrdered(AddUpdateCommand cmd)
Calculate the head collection (i.e.protected String
TimeRoutedAlias. getHeadCollectionIfOrdered(AddUpdateCommand cmd)
void
CategoryRoutedAlias. validateRouteValue(AddUpdateCommand cmd)
void
DimensionalRoutedAlias. 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)
-
Uses of AddUpdateCommand in org.apache.solr.handler.loader
Fields in org.apache.solr.handler.loader declared as AddUpdateCommand Modifier and Type Field Description protected AddUpdateCommand
CSVLoaderBase. templateAdd
Methods in org.apache.solr.handler.loader with parameters of type AddUpdateCommand Modifier and Type Method Description protected void
CSVLoaderBase. doAdd(int line, String[] vals, org.apache.solr.common.SolrInputDocument doc, AddUpdateCommand template)
this must be MT safe... -
Uses of AddUpdateCommand in org.apache.solr.update
Methods in org.apache.solr.update that return AddUpdateCommand Modifier and Type Method 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.Methods in org.apache.solr.update with parameters of type AddUpdateCommand Modifier and Type Method Description void
UpdateLog. add(AddUpdateCommand cmd)
void
UpdateLog. add(AddUpdateCommand cmd, boolean clearCaches)
int
DirectUpdateHandler2. addDoc(AddUpdateCommand cmd)
abstract int
UpdateHandler. addDoc(AddUpdateCommand cmd)
void
SolrCmdDistributor. distribAdd(AddUpdateCommand cmd, List<SolrCmdDistributor.Node> nodes, org.apache.solr.common.params.ModifiableSolrParams params)
void
SolrCmdDistributor. distribAdd(AddUpdateCommand cmd, List<SolrCmdDistributor.Node> nodes, org.apache.solr.common.params.ModifiableSolrParams params, boolean synchronous)
void
SolrCmdDistributor. distribAdd(AddUpdateCommand cmd, List<SolrCmdDistributor.Node> nodes, org.apache.solr.common.params.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. -
Uses of AddUpdateCommand in org.apache.solr.update.processor
Methods in org.apache.solr.update.processor with parameters of type AddUpdateCommand Modifier and Type Method 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
DistributedUpdateProcessor. doDistribAdd(AddUpdateCommand cmd)
protected void
DistributedZkUpdateProcessor. 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 abstract void
SimpleUpdateProcessorFactory. process(AddUpdateCommand cmd, SolrQueryRequest req, SolrQueryResponse rsp)
This object is reused across requests.protected void
TemplateUpdateProcessorFactory. process(AddUpdateCommand cmd, SolrQueryRequest req, SolrQueryResponse rsp)
void
DistributedUpdateProcessor. processAdd(AddUpdateCommand cmd)
void
DistributedZkUpdateProcessor. processAdd(AddUpdateCommand cmd)
void
DocBasedVersionConstraintsProcessor. processAdd(AddUpdateCommand cmd)
void
FieldMutatingUpdateProcessor. processAdd(AddUpdateCommand cmd)
Callsmutate
on any fields identified by the selector before forwarding the command down the chain.void
RegexpBoostProcessor. processAdd(AddUpdateCommand command)
void
RoutedAliasUpdateProcessor. processAdd(AddUpdateCommand cmd)
void
TolerantUpdateProcessor. processAdd(AddUpdateCommand cmd)
void
UpdateRequestProcessor. processAdd(AddUpdateCommand cmd)
void
URLClassifyProcessor. processAdd(AddUpdateCommand command)
void
RegexpBoostProcessor. processBoost(AddUpdateCommand command)
protected boolean
DistributedUpdateProcessor. versionAdd(AddUpdateCommand cmd)
-