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.

Example:<br />

<br />

<br />

<br />

<br />

<br />

Brazilian Portuguese<br />

This is a Java filter written specifically for stemming the Brazilian dialect of the Portuguese language. It uses the<br />

Lucene class org.apache.lucene.analysis.br.BrazilianStemmer. Although that stemmer can be<br />

configured to use a list of protected words (which should not be stemmed), this factory does not accept any<br />

arguments to specify such a list.<br />

Factory class: solr.BrazilianStemFilterFactory<br />

Arguments: None<br />

Example:<br />

<br />

<br />

<br />

<br />

In: "praia praias"<br />

Tokenizer to Filter: "praia", "praias"<br />

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

Bulgarian<br />

<strong>Solr</strong> includes a light stemmer for Bulgarian, following this algorithm (PDF), and Lucene includes an example<br />

stopword list.<br />

Factory class: solr.BulgarianStemFilterFactory<br />

Arguments: None<br />

Example:<br />

<br />

<br />

<br />

<br />

<br />

Catalan<br />

<strong>Solr</strong> can stem Catalan using the Snowball Porter Stemmer with an argument of language="Catalan" . <strong>Solr</strong><br />

includes a set of contractions for Catalan, which can be stripped using solr.ElisionFilterFactory.<br />

Factory class: solr.SnowballPorterFilterFactory<br />

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

154

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

Saved successfully!

Ooh no, something went wrong!