LatLonPointSpatialField
instead@Deprecated public class SpatialPointVectorFieldType extends AbstractSpatialFieldType<PointVectorStrategy> implements SchemaAware
PointVectorStrategy
FieldType.DefaultAnalyzer, FieldType.MultiValueSelector
Modifier and Type | Field and Description |
---|---|
protected String |
numberFieldName
Deprecated.
|
argsParser, ctx, DISTANCE, distanceUnits, FILTER_PARAM, FORMAT, NONE, RECIP_DISTANCE, SCORE_PARAM, shapeReader, shapeWriter, supportedScoreModes
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, UNINVERTIBLE, USE_DOCVALUES_AS_STORED
Constructor and Description |
---|
SpatialPointVectorFieldType()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
NumberType |
getNumberType()
Deprecated.
Return the numeric type of this field, or null if this field is not a
numeric field.
|
void |
inform(IndexSchema schema)
Deprecated.
Adds X and Y fields to the given schema for each field with this class as its field type.
|
protected void |
init(IndexSchema schema,
Map<String,String> args)
Deprecated.
subclasses should initialize themselves with the args provided
and remove valid arguments.
|
protected PointVectorStrategy |
newSpatialStrategy(String fieldName)
Deprecated.
Called from
AbstractSpatialFieldType.getStrategy(String) upon first use by fieldName. |
createField, createFields, createSpatialQuery, getDistanceUnits, getFieldQuery, getQueryFromSpatialArgs, getRangeQuery, getSortField, getSpatialContext, getSphereRadius, getStoredValue, getStrategy, getSupportedScoreModes, getUninversionType, getValueSource, getValueSourceFromSpatialArgs, isPolyField, newSpatialArgsParser, parseDistanceUnits, parseShape, parseSpatialArgs, shapeToString, write
checkSchemaField, checkSupportsDocValues, createField, getAnalyzerProperties, getClassArg, getDefaultMultiValueSelectorForSort, getDocValuesFormat, getIndexAnalyzer, getNamedPropertyValues, getNonFieldPropertyArgs, getNumericSort, getPostingsFormat, getPrefixQuery, getQueryAnalyzer, getRewriteMethod, getSetQuery, getSimilarity, getSimilarityFactory, getSingleValueSource, getSortedNumericSortField, getSortedSetSortField, getSortField, getStringSort, getTypeName, hasProperty, indexedToReadable, indexedToReadable, isExplicitAnalyzer, isExplicitQueryAnalyzer, isMultiValued, isPointField, isTokenized, isUtf8Field, 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, write
protected String numberFieldName
protected void init(IndexSchema schema, Map<String,String> args)
FieldType
init
in class AbstractSpatialFieldType<PointVectorStrategy>
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
schema
- The IndexSchema
instance that inform of the update to.public NumberType getNumberType()
FieldType
getNumberType
in class FieldType
protected PointVectorStrategy newSpatialStrategy(String fieldName)
AbstractSpatialFieldType
AbstractSpatialFieldType.getStrategy(String)
upon first use by fieldName. }newSpatialStrategy
in class AbstractSpatialFieldType<PointVectorStrategy>
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.