org.apache.solr.schema
Class SpatialPointVectorFieldType
java.lang.Object
org.apache.solr.schema.FieldProperties
org.apache.solr.schema.FieldType
org.apache.solr.schema.AbstractSpatialFieldType<PointVectorStrategy>
org.apache.solr.schema.SpatialPointVectorFieldType
- All Implemented Interfaces:
- SchemaAware, SpatialQueryable
public class SpatialPointVectorFieldType
- extends AbstractSpatialFieldType<PointVectorStrategy>
- implements SchemaAware
- See Also:
PointVectorStrategy
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Fields inherited from class org.apache.solr.schema.FieldType |
analyzer, ANALYZER, args, CHAR_FILTER, CHAR_FILTERS, CLASS_NAME, docValuesFormat, falseProperties, FILTER, FILTERS, INDEX, INDEX_ANALYZER, MULTI_TERM, MULTI_TERM_ANALYZER, POLY_FIELD_SEPARATOR, postingsFormat, properties, QUERY, QUERY_ANALYZER, queryAnalyzer, similarity, SIMILARITY, similarityFactory, TOKENIZER, trueProperties, TYPE, TYPE_NAME, typeName |
Fields inherited from class org.apache.solr.schema.FieldProperties |
BINARY, DOC_VALUES, INDEXED, MULTIVALUED, OMIT_NORMS, OMIT_POSITIONS, OMIT_TF_POSITIONS, REQUIRED, SORT_MISSING_FIRST, SORT_MISSING_LAST, STORE_OFFSETS, STORE_TERMOFFSETS, STORE_TERMPOSITIONS, STORE_TERMVECTORS, STORED, TOKENIZED |
Methods inherited from class org.apache.solr.schema.AbstractSpatialFieldType |
createField, createFields, createSpatialQuery, getFieldQuery, getRangeQuery, getSortField, getStrategy, getValueSource, isPolyField, parseShape, parseSpatialArgs, shapeToString, write |
Methods inherited from class org.apache.solr.schema.FieldType |
checkSchemaField, createField, getAnalyzer, getAnalyzerProperties, getClassArg, getDocValuesFormat, getIndexOptions, getNamedPropertyValues, getNonFieldPropertyArgs, getNumericType, getPostingsFormat, getQueryAnalyzer, getRewriteMethod, getSimilarity, getSimilarityFactory, getStringSort, getTypeName, hasProperty, indexedToReadable, indexedToReadable, isExplicitAnalyzer, isExplicitQueryAnalyzer, isMultiValued, isTokenized, multiValuedFieldCache, readableToIndexed, readableToIndexed, restrictProps, setAnalyzer, setArgs, setIsExplicitAnalyzer, setIsExplicitQueryAnalyzer, setQueryAnalyzer, setSimilarity, storedToIndexed, storedToReadable, toExternal, toInternal, toObject, toObject, toString |
numberFieldName
protected String numberFieldName
SpatialPointVectorFieldType
public SpatialPointVectorFieldType()
init
protected void init(IndexSchema schema,
Map<String,String> args)
- Description copied from class:
FieldType
- subclasses should initialize themselves with the args provided
and remove valid arguments. leftover arguments will cause an exception.
Common boolean properties have already been handled.
- Overrides:
init
in class AbstractSpatialFieldType<PointVectorStrategy>
inform
public void inform(IndexSchema schema)
- Adds X and Y fields to the given schema for each field with this class as its field type.
Informs the
IndexSchema
provided by the schema
parameter of an event (e.g., a new FieldType
was added, etc.
- Specified by:
inform
in interface SchemaAware
- Parameters:
schema
- The IndexSchema
instance that inform of the update to.
newSpatialStrategy
protected PointVectorStrategy newSpatialStrategy(String fieldName)
- Description copied from class:
AbstractSpatialFieldType
- Called from
AbstractSpatialFieldType.getStrategy(String)
upon first use by fieldName. }
- Specified by:
newSpatialStrategy
in class AbstractSpatialFieldType<PointVectorStrategy>
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.