Package org.apache.solr.update.processor
package org.apache.solr.update.processor
UpdateRequestProcessorFactory APIs and implementations
for use in UpdateRequestProcessorChains-
ClassDescriptionBase class that can be extended by any
UpdateRequestProcessorFactorydesigned to add a default value to the document in anAddUpdateCommandwhen that field is not already specified.This processor will dynamically add fields to the schema if an input document contains one or more fields that don't match any field or dynamic field in the schema.Abstract subclass of FieldMutatingUpdateProcessor for implementing UpdateProcessors that will mutate all individual values of a selected field independently.An update processor that will convert conventional field-value document to atomic update documentThis class implements an UpdateProcessorFactory for the Classification Update Processor.Clones the values found in any matchingsourcefield into a configureddestfield.Concatenates multiple values for fields matching the specified conditions using a configurabledelimiterwhich defaults to ",".Replaces any list of values for a field matching the specified conditions with the count of the number of values for that field.An update processor that adds a constant default value to any document being added that does not already have a value in the specified field.Values this processor supports for theDISTRIB_UPDATE_PARAM.Factory forDistributedUpdateProcessor.A marker interface for denoting that a factory is responsible for handling distributed communication of updates across a SolrCloud cluster.This Factory generates an UpdateProcessor that helps to enforce Version constraints on documents based on per-document version numbers using a configuredversionField, a comma-delimited list of fields to check for version numbers.Update Processor Factory for managing automatic "expiration" of documents.Replaces any CharSequence values found in fields matching the specified conditions with the lengths of those CharSequences (as an Integer).Reusable base class for UpdateProcessors that will consider AddUpdateCommands and mutate the values associated with configured fields.Interface for identifying which fields should be mutatedBase class for implementing Factories for FieldMutatingUpdateProcessors and FieldValueMutatingUpdateProcessors.In the FieldNameMutatingUpdateProcessorFactory configured below, fields names will be mutated if the name contains space.Abstract subclass of FieldMutatingUpdateProcessor for implementing UpdateProcessors that will mutate all individual values of a selected field independentlyBase class for processors that want to mutate selected fields to only keep a subset of the original values.Keeps only the first value of fields matching the specified conditions.Strips all HTML Markup in any CharSequence values found in fields matching the specified conditions.Gives system administrators a way to ignore explicit commit or optimize requests from clients.Ignores & removes fields matching the specified conditions from any document being added to the index.Gives system administrators a way to ignore very large update from clients.Keeps only the last value of fields matching the specified conditions.A logging processor.An update processor that keeps only the maximum value from any selected fields where multiple values are found.An update processor that keeps only the minimum value from any selected fields where multiple values are found.Adds fields to nested documents to support some nested search requirements.A No-Op implementation of DistributingUpdateProcessorFactory that allways returns the next processor instead of inserting a new URP in front of it.This factory generates an UpdateRequestProcessor which fails update requests once a core has exceeded a configurable maximum number of fields.Attempts to mutate selected fields that have only CharSequence-typed values into Boolean values.Attempts to mutate selected fields that have only CharSequence-typed values into Date values.Attempts to mutate selected fields that have only CharSequence-typed values into Double values.Attempts to mutate selected fields that have only CharSequence-typed values into Float values.Attempts to mutate selected fields that have only CharSequence-typed values into Integer values.Attempts to mutate selected fields that have only CharSequence-typed values into Long values.Abstract base class for numeric parsing update processor factories.A processor which will match content of "inputField" against regular expressions found in "boostFilename", and if it matches will return the corresponding boost value from the file and output this to "boostField" as a double value.Factory which creates RegexBoostProcessorsAn updated processor that applies a configured regex to any CharSequence values found in the selected fields, and replaces any matches with the configured replacement string.Removes any values found which are CharSequence with a length of 0.Distributes update requests to a series of collections partitioned by a "routing" field.Executes the update commands using the underlying UpdateHandler.A base class for writing a very simple UpdateProcessor without worrying too much about the API.This Factory generates an UpdateProcessor that will (by default) skip inserting new documents if there already exists a document with the same uniqueKey value in the index.Adds new fields to documents based on a template pattern specified via Template.field request parameters (multi-valued) or 'field' value specified in initArgs.This implementation is copied from Apache Nutch.An update processor that adds a newly generatedDatevalue of "NOW" to any document being added that does not already have a value in the specified field.Suppresses errors for individual add/delete commands within a single request.Suppresses errors for individual add/delete commands within a single request.Trims leading and trailing whitespace from any CharSequence values found in fields matching the specified conditions and returns the resulting String.Truncates any CharSequence values found in fields matching the specified conditions to a maximum character length.Removes duplicate values found in fields matching the specified conditions.This is a good place for subclassed update handlers to process the document before it is indexed.Manages a chain of UpdateRequestProcessorFactories.A factory to generate an UpdateRequestProcessor for each request.A marker interface for UpdateRequestProcessorFactory implementations indicating that the factory should be used even if the update.distrib parameter would otherwise cause it to not be run.Update processor which examines a URL and outputs to various other fields characteristics of that URL, including length, number of path levels, whether it is a top level URL (levels==0), whether it looks like a landing/index page, a canonical representation of the URL (e.g.Creates URLClassifyProcessorAn update processor that adds a newly generatedUUIDvalue to any document being added that does not already have a value in the specified field.