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.

<br />

<br />

<br />

In: "flip flipped flipping"<br />

Tokenizer to Filter: "flip", "flipped", "flipping"<br />

Out: "flip", "flipped", "flipping"<br />

Example:<br />

Spanish stemmer, Spanish words:<br />

<br />

<br />

<br />

<br />

In: "cante canta"<br />

Tokenizer to Filter: "cante", "canta"<br />

Out: "cant", "cant"<br />

Standard Filter<br />

This filter removes dots from acronyms and the substring "'s" from the end of tokens. This filter depends on the<br />

tokens being tagged with the appropriate term-type to recognize acronyms and words with apostrophes.<br />

Factory class: solr.StandardFilterFactory<br />

Arguments: None<br />

This filter is no longer operational in <strong>Solr</strong> when the luceneMatchVersion (in solrconfig.xml) is<br />

higher than "3.1".<br />

Stop Filter<br />

This filter discards, or stops analysis of, tokens that are on the given stop words list. A standard stop words list is<br />

included in the <strong>Solr</strong> config directory, named stopwords.txt, which is appropriate for typical English language<br />

text.<br />

Factory class: solr.StopFilterFactory<br />

Arguments:<br />

words: (optional) The path to a file that contains a list of stop words, one per line. Blank lines and lines that<br />

begin with "#" are ignored. This may be an absolute path, or path relative to the <strong>Solr</strong> config directory.<br />

format: (optional) If the stopwords list has been formatted for Snowball, you can specify format="snowball"<br />

so <strong>Solr</strong> can read the stopwords file.<br />

ignoreCase: (true/false, default false) Ignore case when testing for stop words. If true, the stop list should<br />

contain lowercase words.<br />

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

136

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

Saved successfully!

Ooh no, something went wrong!