public class BBoxField extends AbstractSpatialFieldType<BBoxStrategy> implements SchemaAware
FieldType.DefaultAnalyzerargsParser, ctx, FILTER_PARAM, log, SCORE_PARAMANALYZER, 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, typeNameBINARY, 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| Constructor and Description |
|---|
BBoxField() |
| Modifier and Type | Method and Description |
|---|---|
protected ValueSource |
getValueSourceFromSpatialArgs(QParser parser,
SchemaField field,
SpatialArgs spatialArgs,
String scoreParam,
BBoxStrategy strategy) |
void |
inform(IndexSchema schema)
Informs the
IndexSchema provided by the schema
parameter of an event (e.g., a new FieldType was added, etc. |
protected void |
init(IndexSchema schema,
Map<String,String> args)
subclasses should initialize themselves with the args provided
and remove valid arguments.
|
protected BBoxStrategy |
newSpatialStrategy(String s)
Called from
AbstractSpatialFieldType.getStrategy(String) upon first use by fieldName. |
createField, createFields, createSpatialQuery, getFieldQuery, getRangeQuery, getSortField, getStrategy, getValueSource, isPolyField, newSpatialArgsParser, parseShape, parseSpatialArgs, shapeToString, writecheckSchemaField, createField, getAnalyzer, getAnalyzerProperties, getClassArg, getDocValuesFormat, getIndexAnalyzer, getIndexOptions, getNamedPropertyValues, getNonFieldPropertyArgs, getNumericType, getPostingsFormat, getPrefixQuery, getQueryAnalyzer, getRewriteMethod, getSimilarity, getSimilarityFactory, getStringSort, getTypeName, hasProperty, indexedToReadable, indexedToReadable, isExplicitAnalyzer, isExplicitQueryAnalyzer, isMultiValued, isTokenized, marshalBase64SortValue, marshalSortValue, marshalStringSortValue, multiValuedFieldCache, readableToIndexed, readableToIndexed, restrictProps, setAnalyzer, setArgs, setIndexAnalyzer, setIsExplicitAnalyzer, setIsExplicitQueryAnalyzer, setQueryAnalyzer, setSimilarity, storedToIndexed, storedToReadable, supportsAnalyzers, toExternal, toInternal, toObject, toObject, toString, unmarshalBase64SortValue, unmarshalSortValue, unmarshalStringSortValueprotected void init(IndexSchema schema, Map<String,String> args)
FieldTypeinit in class AbstractSpatialFieldType<BBoxStrategy>public void inform(IndexSchema schema)
SchemaAwareIndexSchema provided by the schema
parameter of an event (e.g., a new FieldType was added, etc.inform in interface SchemaAwareschema - The IndexSchema instance that inform of the update to.protected BBoxStrategy newSpatialStrategy(String s)
AbstractSpatialFieldTypeAbstractSpatialFieldType.getStrategy(String) upon first use by fieldName. }newSpatialStrategy in class AbstractSpatialFieldType<BBoxStrategy>protected ValueSource getValueSourceFromSpatialArgs(QParser parser, SchemaField field, SpatialArgs spatialArgs, String scoreParam, BBoxStrategy strategy)
getValueSourceFromSpatialArgs in class AbstractSpatialFieldType<BBoxStrategy>Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.