public abstract class ParseNumericFieldUpdateProcessorFactory extends FieldMutatingUpdateProcessorFactory
Locale.ROOT
will be used. E.g. to configure the French/France
locale:
<processor class="solr.Parse[Type]FieldUpdateProcessorFactory"> <str name="locale">fr_FR</str> [...] </processor>
See Locale
for a description of acceptable language, country (optional)
and variant (optional) values, joined with underscore(s).
FieldMutatingUpdateProcessorFactory.SelectorParams
UpdateRequestProcessorFactory.RunAlways
Constructor and Description |
---|
ParseNumericFieldUpdateProcessorFactory() |
Modifier and Type | Method and Description |
---|---|
FieldMutatingUpdateProcessor.FieldNameSelector |
getDefaultSelector(SolrCore core)
Returns true if the field doesn't match any schema field or dynamic field,
or if the matched field's type is compatible
|
void |
init(NamedList args)
Handles common initialization related to source fields for
constructing the FieldNameSelector to be used.
|
protected abstract boolean |
isSchemaFieldTypeCompatible(FieldType type)
Returns true if the given FieldType is compatible with this parsing factory.
|
getSelector, inform, parseSelectorExclusionParams, parseSelectorParams
getInstance
protected Locale locale
public ParseNumericFieldUpdateProcessorFactory()
public void init(NamedList args)
FieldMutatingUpdateProcessorFactory
init
in interface NamedListInitializedPlugin
init
in class FieldMutatingUpdateProcessorFactory
protected abstract boolean isSchemaFieldTypeCompatible(FieldType type)
public FieldMutatingUpdateProcessor.FieldNameSelector getDefaultSelector(SolrCore core)
getDefaultSelector
in class FieldMutatingUpdateProcessorFactory
core
- Where to get the current schema fromFieldMutatingUpdateProcessor.SELECT_ALL_FIELDS
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.