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.update APIs and classes for managing index updatesorg.apache.solr.update.processor UpdateRequestProcessorFactoryAPIs and implementations for use inUpdateRequestProcessorChains -
-
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 StringRoutedAlias. 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.CandidateCollectionCategoryRoutedAlias. findCandidateGivenValue(AddUpdateCommand cmd)org.apache.solr.cloud.api.collections.RoutedAlias.CandidateCollectionDimensionalRoutedAlias. findCandidateGivenValue(AddUpdateCommand cmd)org.apache.solr.cloud.api.collections.RoutedAlias.CandidateCollectionTimeRoutedAlias. findCandidateGivenValue(AddUpdateCommand cmd)Given the route key, finds the correct collection and an indication of any collection that needs to be created.protected StringCategoryRoutedAlias. getHeadCollectionIfOrdered(AddUpdateCommand cmd)protected StringDimensionalRoutedAlias. getHeadCollectionIfOrdered(AddUpdateCommand cmd)protected abstract StringRoutedAlias. getHeadCollectionIfOrdered(AddUpdateCommand cmd)Calculate the head collection (i.e.protected StringTimeRoutedAlias. getHeadCollectionIfOrdered(AddUpdateCommand cmd)voidCategoryRoutedAlias. validateRouteValue(AddUpdateCommand cmd)voidDimensionalRoutedAlias. validateRouteValue(AddUpdateCommand cmd)abstract voidRoutedAlias. validateRouteValue(AddUpdateCommand cmd)Check that the value we will be routing on is legal for this type of routed alias.voidTimeRoutedAlias. validateRouteValue(AddUpdateCommand cmd) -
Uses of AddUpdateCommand in org.apache.solr.update
Methods in org.apache.solr.update that return AddUpdateCommand Modifier and Type Method Description static AddUpdateCommandUpdateLog. 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 voidCdcrUpdateLog. add(AddUpdateCommand cmd, boolean clearCaches)voidUpdateLog. add(AddUpdateCommand cmd)voidUpdateLog. add(AddUpdateCommand cmd, boolean clearCaches)intDirectUpdateHandler2. addDoc(AddUpdateCommand cmd)abstract intUpdateHandler. addDoc(AddUpdateCommand cmd)voidSolrCmdDistributor. distribAdd(AddUpdateCommand cmd, List<SolrCmdDistributor.Node> nodes, ModifiableSolrParams params)voidSolrCmdDistributor. distribAdd(AddUpdateCommand cmd, List<SolrCmdDistributor.Node> nodes, ModifiableSolrParams params, boolean synchronous)voidSolrCmdDistributor. distribAdd(AddUpdateCommand cmd, List<SolrCmdDistributor.Node> nodes, ModifiableSolrParams params, boolean synchronous, DistributedUpdateProcessor.RollupRequestReplicationTracker rollupTracker, DistributedUpdateProcessor.LeaderRequestReplicationTracker leaderTracker)longCdcrTransactionLog. write(AddUpdateCommand cmd, long prevPointer)Deprecated.longTransactionLog. write(AddUpdateCommand cmd)Writes an add update command to the transaction log.longTransactionLog. 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 voidDistributedUpdateProcessor. doDistribAdd(AddUpdateCommand cmd)protected voidDistributedZkUpdateProcessor. doDistribAdd(AddUpdateCommand cmd)booleanAtomicUpdateDocumentMerger. doInPlaceUpdateMerge(AddUpdateCommand cmd, Set<String> updatedFields)Given an AddUpdateCommand containing update operations (e.g.static booleanAtomicUpdateDocumentMerger. isAtomicUpdate(AddUpdateCommand cmd)Utility method that examines the SolrInputDocument in an AddUpdateCommand and returns true if the documents contains atomic update instructions.protected abstract voidSimpleUpdateProcessorFactory. process(AddUpdateCommand cmd, SolrQueryRequest req, SolrQueryResponse rsp)This object is reused across requests.protected voidTemplateUpdateProcessorFactory. process(AddUpdateCommand cmd, SolrQueryRequest req, SolrQueryResponse rsp)voidDistributedUpdateProcessor. processAdd(AddUpdateCommand cmd)voidDistributedZkUpdateProcessor. processAdd(AddUpdateCommand cmd)voidDocBasedVersionConstraintsProcessor. processAdd(AddUpdateCommand cmd)voidFieldMutatingUpdateProcessor. processAdd(AddUpdateCommand cmd)Callsmutateon any fields identified by the selector before forwarding the command down the chain.voidRegexpBoostProcessor. processAdd(AddUpdateCommand command)voidRoutedAliasUpdateProcessor. processAdd(AddUpdateCommand cmd)voidTolerantUpdateProcessor. processAdd(AddUpdateCommand cmd)voidUpdateRequestProcessor. processAdd(AddUpdateCommand cmd)voidURLClassifyProcessor. processAdd(AddUpdateCommand command)voidRegexpBoostProcessor. processBoost(AddUpdateCommand command)protected booleanCdcrUpdateProcessor. versionAdd(AddUpdateCommand cmd)Deprecated.protected booleanDistributedUpdateProcessor. versionAdd(AddUpdateCommand cmd)
-