11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CollationField<br />

CurrencyField<br />

DateRangeField<br />

ExternalFileField<br />

EnumField<br />

ICUCollationField<br />

LatLonType<br />

PointType<br />

PreAnalyzedField<br />

RandomSortField<br />

Supports Unicode collation for sorting and range queries.<br />

ICUCollationField is a better choice if you can use ICU4J. See the<br />

section Unicode Collation.<br />

Supports currencies and exchange rates. See the section Working<br />

with Currencies and Exchange Rates.<br />

Supports indexing date ranges, to include point in time date instances<br />

as well (single-millisecond durations). See the section Working with<br />

Dates for more detail on using this field type. Consider using this field<br />

type even if it's just for date instances, particularly when the queries<br />

typically fall on UTC year/month/day/hour, etc., boundaries.<br />

Pulls values from a file on disk. See the section Working with External<br />

Files and Processes.<br />

Allows defining an enumerated set of values which may not be easily<br />

sorted by either alphabetic or numeric order (such as a list of<br />

severities, for example). This field type takes a configuration file, which<br />

lists the proper order of the field values. See the section Working with<br />

Enum Fields for more information.<br />

Supports Unicode collation for sorting and range queries. See the<br />

section Unicode Collation.<br />

Spatial Search: a latitude/longitude coordinate pair. The latitude is<br />

specified first in the pair.<br />

Spatial Search: An arbitrary n-dimensional point, useful for searching<br />

sources such as blueprints or CAD drawings.<br />

Provides a way to send to <strong>Solr</strong> serialized token streams, optionally<br />

with independent stored values of a field, and have this information<br />

stored and indexed without any additional text processing.<br />

Configuration and usage of PreAnalyzedField is documented on the W<br />

orking with External Files and Processes page.<br />

Does not contain a value. Queries that sort on this field type will return<br />

results in random order. Use a dynamic field to use this feature.<br />

SpatialRecursivePrefixTreeFieldType (RPT for short) Spatial Search: Accepts latitude comma longitude<br />

strings or other shapes in WKT format.<br />

StrField<br />

TextField<br />

TrieDateField<br />

TrieDoubleField<br />

String (UTF-8 encoded string or Unicode).<br />

Text, usually multiple words or tokens.<br />

Date field. Represents a point in time with millisecond precision. See<br />

the section Working with Dates. precisionStep="0" enables<br />

efficient date sorting and minimizes index size; precisionStep="8"<br />

(the default) enables efficient range queries.<br />

Double field (64-bit IEEE floating point). precisionStep="0" enable<br />

s efficient numeric sorting and minimizes index size; precisionStep<br />

="8" (the default) enables efficient range queries.<br />

<strong>Apache</strong> <strong>Solr</strong> <strong>Reference</strong> <strong>Guide</strong> <strong>6.0</strong><br />

54

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!