| Class | Description |
BCDIntField
|
Binary-coded decimal (BCD) integer. BCD is a relatively inefficient encoding that offers the benefits of quick decimal calculations and quick conversion to a string. This field has been deprecated and will be removed in Solr 5.0, use TrieIntField instead.
|
BCDLongField
|
Binary-coded decimal long integer. This field has been deprecated and will be removed in Solr 5.0, use TrieLongField instead.
|
BCDStrField
|
Binary-coded decimal string. This field has been deprecated and will be removed in Solr 5.0, use TrieIntField instead.
|
BinaryField
|
Binary data.
|
BoolField
|
Contains either true or false. Values of "1", "t", or "T" in the first character are interpreted as true. Any other values in the first character are interpreted as false.
|
ByteField
|
Contains a byte (an 8-bit signed integer). This field has been deprecated and will be removed in Solr 5.0, use TrieIntField instead.
|
CollationField
|
Supports Unicode collation for sorting and range queries. ICUCollationField is a better choice if you can use ICU4J. See the section Unicode Collation.
|
CurrencyField
|
Supports currencies and exchange rates. See the section Working with Currencies and Exchange Rates.
|
DateField
已不建議使用,請改用TrieDateField
|
Represents a point in time with millisecond precision. See the section Wor king with Dates. This field has been deprecated and will be removed in Solr 5.0, use TrieDateField instead.
|
DoubleField
|
Double (64-bit IEEE floating point). This field has been deprecated and will be removed in Solr 5.0, use TrieDoubleField instead.
|
ExternalFileField
|
Pulls values from a file on disk. See the section Working with External Files and Processes.
|
EnumField
|
Allows defining an enumerated set of values which may not be easily sorted by either alphabetic or numeric order (such as a list of severities, for example). This field type takes a configuration file, which lists the proper order of the field values. See the section Working with Enum Fields for more information.
|
FloatField
|
Floating point (32-bit IEEE floating point). This field has been deprecated and will be removed in Solr 5.0, use TrieFloatField instead.
|
ICUCollationField
|
Supports Unicode collation for sorting and range queries. See the section Unicode Collation.
|
IntField
|
Integer (32-bit signed integer). This field has been deprecated and will be removed in Solr 5.0, use TrieIntField instead.
|
LatLonType
|
Spatial Search: a latitude/longitude coordinate pair. The latitude is specified first in the pair.
|
LongField
|
Long integer (64-bit signed integer). This field has been deprecated and will be removed in Solr 5.0, use TrieLongField instead.
|
PointType
|
Spatial Search: An arbitrary n-dimensional point, useful for searching sources such as blueprints or CAD drawings.
|
PreAnalyzedField
|
Provides a way to send to Solr serialized token streams, optionally with independent stored values of a field, and have this information stored and indexed without any additional text processing. Useful if you want to submit field content that was already processed by some existing external text processing pipeline (e.g. tokenized, annotated, stemmed, inserted synonyms, etc.), while using all the rich attributes that Lucene's TokenSt ream provides via token attributes.
|
RandomSortField
|
Does not contain a value. Queries that sort on this field type will return results in random order. Use a dynamic field to use this feature.
|
ShortField
|
Short integer. This field has been deprecated and will be removed in Solr 5.0, use TrieIntField instead.
|
SortableDoubleField
|
The Sortable fields provide correct numeric sorting. This field has been deprecated and will be removed in Solr 5.0, use TrieDoubleField instead.
|
SortableFloatField
|
Numerically sorted floating point. This field has been deprecated and will be removed in Solr 5.0, use TrieFloatField instead.
|
SortableIntField
|
Numerically sorted integer. This field has been deprecated and will be removed in Solr 5.0, use TrieIntField instead.
|
SortableLongField
|
Numerically sorted long integer. This field has been deprecated and will be removed in Solr 5.0, use TrieLongField instead.
|
SpatialRecursivePrefixTreeFieldType
|
(RPT for short) Spatial Search: Accepts latitude comma longitude strings or other shapes in WKT format.
|
StrField
|
String (UTF-8 encoded string or Unicode).
|
TextField
|
Text, usually multiple words or tokens.
|
TrieDateField
|
Date field. Represents a point in time with millisecond precision. See the section Working with Dates. precisionStep="0" enables efficient date sorting and minimizes index size; precisionStep="8" (the default) enables efficient range queries.
|
TrieDoubleField
|
Double field (64-bit IEEE floating point). precisionStep="0" enables efficient numeric sorting and minimizes index size; precisionStep="8" (the default) enables efficient range queries.
|
TrieField
|
If this field type is used, a "type" attribute must also be specified, valid values are: integer, long, float, double, date. Using this field is the same as using any of the Trie fields. precisionStep="0" enables efficient numeric sorting and minimizes index size; precisionStep="8" (the default) enables efficient range queries.
|
TrieFloatField
|
Floating point field (32-bit IEEE floating point). precisionStep="0" en ables efficient numeric sorting and minimizes index size; precisionSte p="8" (the default) enables efficient range queries.
|
TrieIntField
|
Integer field (32-bit signed integer). precisionStep="0" enables efficient numeric sorting and minimizes index size; precisionStep="8" (the default) enables efficient range queries.
|
TrieLongField
|
Long field (64-bit signed integer). precisionStep="0" enables efficient numeric sorting and minimizes index size; precisionStep="8" (the default) enables efficient range queries.
|
UUIDField
|
Universally Unique Identifier (UUID). Pass in a value of "NEW" and Solr will create a new UUID. Note: configuring a UUIDField instance with a default value of "NEW" is not advisable for most users when using SolrCloud (and not possible if the UUID value is configured as the unique key field) since the result will be that each replica of each document will get a unique UUID value. Using UUIDUpdateProcessorFactory to generate UUID values when documents are added is recommended instead.
|
沒有留言:
張貼留言