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.

appropriate for English language text.<br />

Factory class: solr.KStemFilterFactory<br />

Arguments: None<br />

Example:<br />

<br />

<br />

<br />

<br />

In: "jump jumping jumped"<br />

Tokenizer to Filter: "jump", "jumping", "jumped"<br />

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

Length Filter<br />

This filter passes tokens whose length falls within the min/max limit specified. All other tokens are discarded.<br />

Factory class: solr.LengthFilterFactory<br />

Arguments:<br />

min: (integer, required) Minimum token length. Tokens shorter than this are discarded.<br />

max: (integer, required, must be >= min) Maximum token length. Tokens longer than this are discarded.<br />

enablePositionIncrements: if luceneMatchVersion is 4.3 or earlier and enablePositionIncrement<br />

s="false" , no position holes will be left by this filter when it removes tokens. This argument is invalid if luc<br />

eneMatchVersion is 5.0 or later.<br />

Example:<br />

<br />

<br />

<br />

<br />

In: "turn right at Albuquerque"<br />

Tokenizer to Filter: "turn", "right", "at", "Albuquerque"<br />

Out: "turn", "right"<br />

Lower Case Filter<br />

Converts any uppercase letters in a token to the equivalent lowercase token. All other characters are left<br />

unchanged.<br />

Factory class: solr.LowerCaseFilterFactory<br />

Arguments: None<br />

Example:<br />

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

127

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

Saved successfully!

Ooh no, something went wrong!