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.

decomposition: Valid values are no, canonical, or full. See Oracle Java 8 Collator javadocs for more<br />

information.<br />

A solr.CollationField example:<br />

<br />

...<br />

<br />

...<br />

<br />

ASCII & Decimal Folding Filters<br />

Ascii Folding<br />

This filter converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII<br />

characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if one exists. Only those characters with<br />

reasonable ASCII alternatives are converted.<br />

This can increase recall by causing more matches. On the other hand, it can reduce precision because<br />

language-specific character differences may be lost.<br />

Factory class: solr.ASCIIFoldingFilterFactory<br />

Arguments: None<br />

Example:<br />

<br />

<br />

<br />

<br />

In: "Björn Ångström"<br />

Tokenizer to Filter: "Björn", "Ångström"<br />

Out: "Bjorn", "Angstrom"<br />

Decimal Digit Folding<br />

This filter converts any character in the Unicode "Decimal Number" general category ("Nd") into their equivalent<br />

Basic Latin digits (0-9).<br />

This can increase recall by causing more matches. On the other hand, it can reduce precision because<br />

language-specific character differences may be lost.<br />

Factory class: solr.DecimalDigitFilterFactory<br />

Arguments: None<br />

Example:<br />

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

152

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

Saved successfully!

Ooh no, something went wrong!