11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

stripping index.html), the domain and path parts of the URL etc.<br />

UUIDUpdateProcessorFactory:<br />

An update processor that adds a newly generated UUID value to any<br />

document being added that does not already have a value in the specified field.<br />

FieldMutatingUpdateProcessorFactory derived factories<br />

These factories all provide functionality to modify fields in a document as they're being indexed. When using any<br />

of these factories, please consult the FieldMutatingUpdateProcessorFactory javadocs for details on the common<br />

options they all support for configuring which fields are modified.<br />

ConcatFieldUpdateProcessorFactory : Concatenates multiple values for fields matching the specified<br />

conditions using a configurable delimiter.<br />

CountFieldValuesUpdateProcessorFactory : Replaces any list of values for a field matching the<br />

specified conditions with the the count of the number of values for that field.<br />

FieldLengthUpdateProcessorFactory:<br />

Replaces any CharSequence values found in fields matching the<br />

specified conditions with the lengths of those CharSequences (as an Integer).<br />

FirstFieldValueUpdateProcessorFactory:<br />

Keeps only the first value of fields matching the specified<br />

conditions.<br />

HTMLStripFieldUpdateProcessorFactory: Strips all HTML Markup in any CharSequence values found<br />

in fields matching the specified conditions.<br />

IgnoreFieldUpdateProcessorFactory : Ignores and removes fields matching the specified conditions<br />

from any document being added to the index.<br />

LastFieldValueUpdateProcessorFactory : Keeps only the last value of fields matching the specified<br />

conditions.<br />

MaxFieldValueUpdateProcessorFactory:<br />

An update processor that keeps only the the maximum value<br />

from any selected fields where multiple values are found.<br />

MinFieldValueUpdateProcessorFactory:<br />

An update processor that keeps only the the minimum value<br />

from any selected fields where multiple values are found.<br />

ParseBooleanFieldUpdateProcessorFactory : Attempts to mutate selected fields that have only<br />

CharSequence-typed values into Boolean values.<br />

ParseDateFieldUpdateProcessorFactory : Attempts to mutate selected fields that have only<br />

CharSequence-typed values into <strong>Solr</strong> date values.<br />

ParseNumericFieldUpdateProcessorFactory derived classes:<br />

ParseDoubleFieldUpdateProcessorFactory:<br />

Attempts to mutate selected fields that have only<br />

CharSequence-typed values into Double values.<br />

ParseFloatFieldUpdateProcessorFactory : Attempts to mutate selected fields that have only<br />

CharSequence-typed values into Float values.<br />

ParseIntFieldUpdateProcessorFactory : Attempts to mutate selected fields that have only<br />

CharSequence-typed values into Integer values.<br />

ParseLongFieldUpdateProcessorFactory : Attempts to mutate selected fields that have only<br />

CharSequence-typed values into Long values.<br />

PreAnalyzedUpdateProcessorFactory : An update processor that parses configured fields of any<br />

document being added using PreAnalyzedField with the configured format parser.<br />

RegexReplaceProcessorFactory : An updated processor that applies a configured regex to any<br />

CharSequence values found in the selected fields, and replaces any matches with the configured<br />

replacement string.<br />

RemoveBlankFieldUpdateProcessorFactory : Removes any values found which are CharSequence<br />

with a length of 0. (ie: empty strings).<br />

TrimFieldUpdateProcessorFactory:<br />

Trims leading and trailing whitespace from any CharSequence<br />

values found in fields matching the specified conditions.<br />

TruncateFieldUpdateProcessorFactory:<br />

Truncates any CharSequence values found in fields matching<br />

the specified conditions to a maximum character length.<br />

UniqFieldsUpdateProcessorFactory : Removes duplicate values found in fields matching the specified<br />

conditions.<br />

Update Processor factories that can be loaded as plugins<br />

<strong>Apache</strong> <strong>Solr</strong> <strong>Reference</strong> <strong>Guide</strong> <strong>6.0</strong><br />

465

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!