@Deprecated public class CurrencyField extends CurrencyFieldType implements SchemaAware, ResourceLoaderAware
FieldType.DefaultAnalyzer, FieldType.MultiValueSelector
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_PRECISION_STEP
Deprecated.
|
protected static String |
FIELD_SUFFIX_AMOUNT_RAW
Deprecated.
|
protected static String |
FIELD_SUFFIX_CURRENCY
Deprecated.
|
protected static String |
FIELD_TYPE_AMOUNT_RAW
Deprecated.
|
protected static String |
FIELD_TYPE_CURRENCY
Deprecated.
|
protected static String |
PARAM_PRECISION_STEP
Deprecated.
|
DEFAULT_DEFAULT_CURRENCY, DEFAULT_RATE_PROVIDER_CLASS, fieldSuffixAmountRaw, fieldSuffixCurrency, fieldTypeAmountRaw, fieldTypeCurrency, PARAM_DEFAULT_CURRENCY, PARAM_FIELD_SUFFIX_AMOUNT_RAW, PARAM_FIELD_SUFFIX_CURRENCY, PARAM_RATE_PROVIDER_CLASS, schema
ANALYZER, args, AUTO_GENERATE_PHRASE_QUERIES, CHAR_FILTER, CHAR_FILTERS, CLASS_NAME, docValuesFormat, ENABLE_GRAPH_QUERIES, falseProperties, FILTER, FILTERS, INDEX, INDEX_ANALYZER, MULTI_TERM, MULTI_TERM_ANALYZER, POLY_FIELD_SEPARATOR, postingsFormat, properties, QUERY, QUERY_ANALYZER, similarity, SIMILARITY, similarityFactory, SYNONYM_QUERY_STYLE, TOKENIZER, trueProperties, TYPE, TYPE_NAME, typeName
BINARY, DOC_VALUES, INDEXED, LARGE_FIELD, MULTIVALUED, OMIT_NORMS, OMIT_POSITIONS, OMIT_TF_POSITIONS, REQUIRED, SORT_MISSING_FIRST, SORT_MISSING_LAST, STORE_OFFSETS, STORE_TERMOFFSETS, STORE_TERMPAYLOADS, STORE_TERMPOSITIONS, STORE_TERMVECTORS, STORED, TOKENIZED, USE_DOCVALUES_AS_STORED
Constructor and Description |
---|
CurrencyField()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
inform(IndexSchema schema)
Deprecated.
When index schema is informed, add dynamic fields "*____currency" and "*____amount_raw".
|
protected void |
init(IndexSchema schema,
Map<String,String> args)
Deprecated.
subclasses should initialize themselves with the args provided
and remove valid arguments.
|
checkSchemaField, createFields, getConvertedValueSource, getCurrency, getDefaultCurrency, getFieldQuery, getProvider, getRangeQuery, getRangeQuery, getSortField, getUninversionType, getValueSource, inform, isPolyField, write
checkSupportsDocValues, createField, createField, getAnalyzerProperties, getClassArg, getDefaultMultiValueSelectorForSort, getDocValuesFormat, getIndexAnalyzer, getNamedPropertyValues, getNonFieldPropertyArgs, getNumberType, getNumericSort, getPostingsFormat, getPrefixQuery, getQueryAnalyzer, getRewriteMethod, getSetQuery, getSimilarity, getSimilarityFactory, getSingleValueSource, getSortedNumericSortField, getSortedSetSortField, getSortField, getStringSort, getTypeName, hasProperty, indexedToReadable, indexedToReadable, isExplicitAnalyzer, isExplicitQueryAnalyzer, isMultiValued, isPointField, isTokenized, marshalBase64SortValue, marshalSortValue, marshalStringSortValue, multiValuedFieldCache, readableToIndexed, readableToIndexed, restrictProps, setArgs, setIndexAnalyzer, setIsExplicitAnalyzer, setIsExplicitQueryAnalyzer, setQueryAnalyzer, setSimilarity, storedToIndexed, storedToReadable, supportsAnalyzers, toExternal, toInternal, toNativeType, toObject, toObject, toString, unmarshalBase64SortValue, unmarshalSortValue, unmarshalStringSortValue, useDocValuesAsStored
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
inform
protected static final String FIELD_SUFFIX_AMOUNT_RAW
protected static final String FIELD_SUFFIX_CURRENCY
protected static final String FIELD_TYPE_AMOUNT_RAW
protected static final String FIELD_TYPE_CURRENCY
protected static final String PARAM_PRECISION_STEP
protected static final String DEFAULT_PRECISION_STEP
protected void init(IndexSchema schema, Map<String,String> args)
FieldType
init
in class CurrencyFieldType
public void inform(IndexSchema schema)
IndexSchema
provided by the schema
parameter of an event (e.g., a new FieldType
was added, etc.inform
in interface SchemaAware
inform
in class CurrencyFieldType
schema
- The IndexSchema
instance that inform of the update to.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.