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.

Arguments: None<br />

Example:<br />

<br />

<br />

<br />

<br />

In: "kala kalat"<br />

Tokenizer to Filter: "kala", "kalat"<br />

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

French<br />

Elision Filter<br />

Removes article elisions from a token stream. This filter can be useful for languages such as French, Catalan,<br />

Italian, and Irish.<br />

Factory class: solr.ElisionFilterFactory<br />

Arguments:<br />

articles: The pathname of a file that contains a list of articles, one per line, to be stripped. Articles are words<br />

such as "le", which are commonly abbreviated, such as in l'avion (the plane). This file should include the<br />

abbreviated form, which precedes the apostrophe. In this case, simply " l". If no articles attribute is specified, a<br />

default set of French articles is used.<br />

ignoreCase: (boolean) If true, the filter ignores the case of words when comparing them to the common word<br />

file. Defaults to false<br />

Example:<br />

<br />

<br />

<br />

<br />

In: "L'histoire d'art"<br />

Tokenizer to Filter: "L'histoire", "d'art"<br />

Out: "histoire", "art"<br />

French Light Stem Filter<br />

<strong>Solr</strong> includes three stemmers for French: one in the solr.SnowballPorterFilterFactory, a lighter<br />

stemmer called solr.FrenchLightStemFilterFactory, and an even less aggressive stemmer called solr<br />

.FrenchMinimalStemFilterFactory. Lucene includes an example stopword list.<br />

Factory classes: solr.FrenchLightStemFilterFactory,<br />

solr.FrenchMinimalStemFilterFactory<br />

Arguments: None<br />

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

158

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

Saved successfully!

Ooh no, something went wrong!