public class RptWithGeometrySpatialField extends AbstractSpatialFieldType<CompositeSpatialStrategy>
CompositeSpatialStrategy
.FieldType.DefaultAnalyzer, FieldType.MultiValueSelector
Modifier and Type | Field and Description |
---|---|
static String |
CACHE_KEY_PREFIX |
static String |
DEFAULT_DIST_ERR_PCT |
argsParser, ctx, DISTANCE, distanceUnits, FILTER_PARAM, NONE, RECIP_DISTANCE, SCORE_PARAM, supportedScoreModes, units
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, similarity, SIMILARITY, similarityFactory, TOKENIZER, trueProperties, TYPE, TYPE_NAME, typeName
BINARY, DOC_VALUES, INDEXED, 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 |
---|
RptWithGeometrySpatialField() |
Modifier and Type | Method and Description |
---|---|
Analyzer |
getIndexAnalyzer()
Returns the Analyzer to be used when indexing fields of this type.
|
Analyzer |
getQueryAnalyzer()
Returns the Analyzer to be used when searching fields of this type.
|
protected void |
init(IndexSchema schema,
Map<String,String> args)
subclasses should initialize themselves with the args provided
and remove valid arguments.
|
protected CompositeSpatialStrategy |
newSpatialStrategy(String fieldName)
Called from
AbstractSpatialFieldType.getStrategy(String) upon first use by fieldName. |
createField, createFields, createSpatialQuery, getDistanceUnits, getFieldQuery, getQueryFromSpatialArgs, getRangeQuery, getSortField, getSphereRadius, getStoredValue, getStrategy, getSupportedScoreModes, getUninversionType, getValueSource, getValueSourceFromSpatialArgs, isPolyField, newSpatialArgsParser, parseDistanceUnits, parseShape, parseSpatialArgs, shapeToString, write
checkSchemaField, createField, getAnalyzerProperties, getClassArg, getDocValuesFormat, getIndexOptions, getNamedPropertyValues, getNonFieldPropertyArgs, getNumericType, getPostingsFormat, getPrefixQuery, getRewriteMethod, getSimilarity, getSimilarityFactory, getSingleValueSource, getStringSort, getTypeName, hasProperty, indexedToReadable, indexedToReadable, isExplicitAnalyzer, isExplicitQueryAnalyzer, isMultiValued, 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
public static final String DEFAULT_DIST_ERR_PCT
public static final String CACHE_KEY_PREFIX
protected void init(IndexSchema schema, Map<String,String> args)
FieldType
init
in class AbstractSpatialFieldType<CompositeSpatialStrategy>
protected CompositeSpatialStrategy newSpatialStrategy(String fieldName)
AbstractSpatialFieldType
AbstractSpatialFieldType.getStrategy(String)
upon first use by fieldName. }newSpatialStrategy
in class AbstractSpatialFieldType<CompositeSpatialStrategy>
public Analyzer getQueryAnalyzer()
FieldType
This method may be called many times, at any time.
getQueryAnalyzer
in class FieldType
FieldType.getIndexAnalyzer()
public Analyzer getIndexAnalyzer()
FieldType
This method may be called many times, at any time.
getIndexAnalyzer
in class FieldType
FieldType.getQueryAnalyzer()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.