Uses of Class
org.apache.solr.schema.FieldType
-
Packages that use FieldType Package Description org.apache.solr.handler Concrete implementations ofSolrRequestHandler
org.apache.solr.handler.component SearchComponent
implementations for use inSearchHandler
org.apache.solr.handler.designer TheSchemaDesignerAPI
and supporting classes.org.apache.solr.parser Solr native variant of the Lucene Classic QueryParserorg.apache.solr.response API and implementations ofQueryResponseWriter
for formatting Solr request responsesorg.apache.solr.response.transform APIs and implementations ofDocTransformer
for modifying documents in Solr request responsesorg.apache.solr.schema IndexSchema
andFieldType
implementations for powering schema.xmlorg.apache.solr.update APIs and classes for managing index updatesorg.apache.solr.update.processor UpdateRequestProcessorFactory
APIs and implementations for use inUpdateRequestProcessorChain
sorg.apache.solr.util Common utility classes used throughout Solr -
-
Uses of FieldType in org.apache.solr.handler
Methods in org.apache.solr.handler that return FieldType Modifier and Type Method Description FieldType
AnalysisRequestHandlerBase.AnalysisContext. getFieldType()
Constructors in org.apache.solr.handler with parameters of type FieldType Constructor Description AnalysisContext(String fieldName, FieldType fieldType, org.apache.lucene.analysis.Analyzer analyzer)
Constructs an AnalysisContext with a given field name, field type and analyzer.AnalysisContext(String fieldName, FieldType fieldType, org.apache.lucene.analysis.Analyzer analyzer, Set<org.apache.lucene.util.BytesRef> termsToMatch)
Constructs a new AnalysisContext with a given field tpe, analyzer and termsToMatch.AnalysisContext(FieldType fieldType, org.apache.lucene.analysis.Analyzer analyzer, Set<org.apache.lucene.util.BytesRef> termsToMatch)
Constructs a new AnalysisContext with a given field tpe, analyzer and termsToMatch. -
Uses of FieldType in org.apache.solr.handler.component
Fields in org.apache.solr.handler.component declared as FieldType Modifier and Type Field Description FieldType
FacetComponent.FieldFacet. ftype
-
Uses of FieldType in org.apache.solr.handler.designer
Methods in org.apache.solr.handler.designer with parameters of type FieldType Modifier and Type Method Description protected Map<String,String>
DefaultSchemaSuggester. guessFieldProps(String fieldName, FieldType fieldType, List<Object> sampleValues, boolean isMV, IndexSchema schema)
protected void
DefaultSchemaSuggester. validateNumericTypeChange(SchemaField field, FieldType toType, List<org.apache.solr.common.SolrInputDocument> docs, NumberType toNumType)
void
DefaultSchemaSuggester. validateTypeChange(SchemaField field, FieldType toType, List<org.apache.solr.common.SolrInputDocument> docs)
void
SchemaSuggester. validateTypeChange(SchemaField field, FieldType toType, List<org.apache.solr.common.SolrInputDocument> docs)
Method parameters in org.apache.solr.handler.designer with type arguments of type FieldType Modifier and Type Method Description protected static Map<String,org.apache.solr.common.util.SimpleOrderedMap<Object>>
ManagedSchemaDiff. mapFieldTypesToPropValues(Map<String,FieldType> fieldTypes)
-
Uses of FieldType in org.apache.solr.parser
Methods in org.apache.solr.parser with parameters of type FieldType Modifier and Type Method Description protected String
SolrQueryParserBase. analyzeIfMultitermTermText(String field, String part, FieldType fieldType)
protected ReversedWildcardFilterFactory
SolrQueryParserBase. getReversedWildcardFilterFactory(FieldType fieldType)
-
Uses of FieldType in org.apache.solr.response
Fields in org.apache.solr.response with type parameters of type FieldType Modifier and Type Field Description static Set<Class<? extends FieldType>>
DocsStreamer. KNOWN_TYPES
-
Uses of FieldType in org.apache.solr.response.transform
Constructors in org.apache.solr.response.transform with parameters of type FieldType Constructor Description BaseEditorialTransformer(String name, String idFieldName, FieldType ft)
-
Uses of FieldType in org.apache.solr.schema
Subclasses of FieldType in org.apache.solr.schema Modifier and Type Class Description class
AbstractEnumField
Abstract Field type for support of string values with custom sort order.class
AbstractSpatialFieldType<T extends org.apache.lucene.spatial.SpatialStrategy>
Abstract base class for Solr FieldTypes based on a Lucene 4SpatialStrategy
.class
AbstractSpatialPrefixTreeFieldType<T extends org.apache.lucene.spatial.prefix.PrefixTreeStrategy>
class
AbstractSubTypeFieldType
An abstract base class for FieldTypes that delegate work to anotherFieldType
.class
BBoxField
class
BinaryField
class
BoolField
class
CollationField
Field for collated sort keys.class
CoordinateFieldType
A CoordinateFieldType is the base class forFieldType
s that have semantics related to items in a coordinate system.class
CurrencyField
Deprecated.class
CurrencyFieldType
Field type for support of monetary values.class
DatePointField
FieldType that can represent any Date/Time with millisecond precision.class
DateRangeField
A field for indexed dates and date ranges.class
DenseVectorField
Provides a field type to support Lucene'sKnnVectorField
.class
DoublePointField
PointField
implementation forDouble
values.class
EnumField
Deprecated.useEnumFieldType
instead.class
EnumFieldType
Field type for support of string values with custom sort order.class
ExternalFileField
Get values from an external file instead of the index.class
FloatPointField
PointField
implementation forFloat
values.class
IntPointField
PointField
implementation forInteger
values.class
LatLonPointSpatialField
A spatial implementation based on Lucene'sLatLonPoint
andLatLonDocValuesField
.class
LongPointField
PointField
implementation forLong
values.class
NestPathField
To be used for fieldIndexSchema.NEST_PATH_FIELD_NAME
for enhanced nested doc information.class
NumericFieldType
class
PointField
Provides field types to support for Lucene'sIntPoint
,LongPoint
,FloatPoint
andDoublePoint
.class
PointType
A point type that indexes a point in an n-dimensional space as separate fields and supports range queries.class
PreAnalyzedField
Pre-analyzed field type provides a way to index a serialized token stream, optionally with an independent stored value of a field.class
PrimitiveFieldType
Abstract class defining shared behavior for primitive types Intended to be used as base class for non-analyzed fields like int, float, string, date etc, and set proper defaults for themclass
RandomSortField
Utility Field used for random sorting.class
RankField
RankField
s can be used to store scoring factors to improve document ranking.class
RptWithGeometrySpatialField
A Solr Spatial FieldType based onCompositeSpatialStrategy
.class
SortableTextField
SortableTextField
is a specialized form ofTextField
that supports Sorting and ValueSource functions, usingdocValues
built from the firstmaxCharsForDocValues
characters of the original (pre-analyzed) String values of this field.class
SpatialRecursivePrefixTreeFieldType
class
StrField
class
TextField
TextField
is the basic type for configurable text analysis.class
TrieDateField
Deprecated.Trie fields are deprecated as of Solr 7.0class
TrieDoubleField
Deprecated.Trie fields are deprecated as of Solr 7.0class
TrieField
Deprecated.Trie fields are deprecated as of Solr 7.0class
TrieFloatField
Deprecated.Trie fields are deprecated as of Solr 7.0class
TrieIntField
Deprecated.Trie fields are deprecated as of Solr 7.0class
TrieLongField
Deprecated.Trie fields are deprecated as of Solr 7.0class
UUIDField
This FieldType accepts UUID string values, as well as the special value of "NEW" which triggers generation of a new random UUID.Fields in org.apache.solr.schema declared as FieldType Modifier and Type Field Description protected FieldType
CurrencyFieldType. fieldTypeAmountRaw
protected FieldType
CurrencyFieldType. fieldTypeCurrency
protected FieldType
AbstractSubTypeFieldType. subType
protected FieldType
IndexSchema. uniqueKeyFieldType
Fields in org.apache.solr.schema with type parameters of type FieldType Modifier and Type Field Description protected Map<String,FieldType>
IndexSchema. fieldTypes
Methods in org.apache.solr.schema that return FieldType Modifier and Type Method Description protected FieldType
FieldTypePluginLoader. create(org.apache.solr.common.cloud.SolrClassLoader loader, String name, String className, org.apache.solr.common.ConfigNode node)
FieldType
IndexSchema. getDynamicFieldType(String fieldName)
Returns the FieldType of the best matching dynamic field for the specified field nameFieldType
IndexSchema. getFieldType(String fieldName)
Returns the FieldType for the specified field name.FieldType
IndexSchema. getFieldTypeByName(String fieldTypeName)
Given the name of aFieldType
(not to be confused withIndexSchema.getFieldType(String)
which takes in the name of a field), return theFieldType
.FieldType
IndexSchema. getFieldTypeNoEx(String fieldName)
Returns the FieldType for the specified field name.FieldType
AbstractSubTypeFieldType. getSubType()
FieldType
SchemaField. getType()
FieldType
IndexSchema. newFieldType(String typeName, String className, Map<String,?> options)
Returns a FieldType if the given typeName does not already exist in this schema.FieldType
ManagedIndexSchema. newFieldType(String typeName, String className, Map<String,?> options)
protected FieldType
FieldTypePluginLoader. register(String name, FieldType plugin)
Methods in org.apache.solr.schema that return types with arguments of type FieldType Modifier and Type Method Description Map<String,FieldType>
IndexSchema. getFieldTypes()
Provides direct access to the Map containing all Field Types in the index, keyed on field type name.Methods in org.apache.solr.schema with parameters of type FieldType Modifier and Type Method Description static String
TrieField. getMainValuePrefix(FieldType ft)
Deprecated.expert internal use, subject to change.protected void
FieldTypePluginLoader. init(FieldType plugin, org.apache.solr.common.ConfigNode node)
protected FieldType
FieldTypePluginLoader. register(String name, FieldType plugin)
ManagedIndexSchema
IndexSchema. replaceDynamicField(String fieldNamePattern, FieldType replacementFieldType, Map<String,?> replacementArgs)
Copies this schema, deletes the named dynamic field from the copy, creates a new dynamic field with the same field name pattern using the given args, then rebinds any referring dynamic copy fields to the replacement dynamic field.ManagedIndexSchema
ManagedIndexSchema. replaceDynamicField(String fieldNamePattern, FieldType replacementFieldType, Map<String,?> replacementArgs)
IndexSchema
IndexSchema. replaceField(String fieldName, FieldType replacementFieldType, Map<String,?> replacementArgs)
Copies this schema, deletes the named field from the copy, creates a new field with the same name using the given args, then rebinds any referring copy fields to the replacement field.ManagedIndexSchema
ManagedIndexSchema. replaceField(String fieldName, FieldType replacementFieldType, Map<String,?> replacementArgs)
Method parameters in org.apache.solr.schema with type arguments of type FieldType Modifier and Type Method Description IndexSchema
IndexSchema. addFieldTypes(List<FieldType> fieldTypeList, boolean persist)
Copies this schema, adds the given field type to the copy, Requires synchronizing on the object returned byIndexSchema.getSchemaUpdateLock()
.ManagedIndexSchema
ManagedIndexSchema. addFieldTypes(List<FieldType> fieldTypeList, boolean persist)
Constructors in org.apache.solr.schema with parameters of type FieldType Constructor Description EnumMapping(IndexSchema schema, FieldType fieldType, Map<String,String> args)
Takes in a FieldType and the initArgs Map used for that type, removing the keys that specify the enum.SchemaField(String name, FieldType type)
Create a new SchemaField with the given name and type, using all the default properties from the type.SchemaField(String name, FieldType type, int properties, String defaultValue)
Create a new SchemaField with the given name and type, and with the specified properties.Constructor parameters in org.apache.solr.schema with type arguments of type FieldType Constructor Description FieldTypePluginLoader(IndexSchema schema, Map<String,FieldType> fieldTypes, Collection<SchemaAware> schemaAware)
-
Uses of FieldType in org.apache.solr.update
Fields in org.apache.solr.update declared as FieldType Modifier and Type Field Description protected FieldType
UpdateHandler. idFieldType
-
Uses of FieldType in org.apache.solr.update.processor
Methods in org.apache.solr.update.processor with parameters of type FieldType Modifier and Type Method Description protected boolean
ParseDoubleFieldUpdateProcessorFactory. isSchemaFieldTypeCompatible(FieldType type)
protected boolean
ParseFloatFieldUpdateProcessorFactory. isSchemaFieldTypeCompatible(FieldType type)
protected boolean
ParseIntFieldUpdateProcessorFactory. isSchemaFieldTypeCompatible(FieldType type)
protected boolean
ParseLongFieldUpdateProcessorFactory. isSchemaFieldTypeCompatible(FieldType type)
protected abstract boolean
ParseNumericFieldUpdateProcessorFactory. isSchemaFieldTypeCompatible(FieldType type)
Returns true if the given FieldType is compatible with this parsing factory. -
Uses of FieldType in org.apache.solr.util
Methods in org.apache.solr.util with parameters of type FieldType Modifier and Type Method Description static org.apache.lucene.queries.payloads.PayloadDecoder
PayloadUtils. getPayloadDecoder(FieldType fieldType)
static String
PayloadUtils. getPayloadEncoder(FieldType fieldType)
-