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.

The " text_general" field type is designed to be generally useful for any language, and it has definitely gotten<br />

us closer to our objective than " text_ws" from our first example by solving the problem of case sensitivity. It's<br />

still not quite what we are looking for because we don't see stemming or stopword rules being applied.<br />

So now let us try the " text_en" field type:<br />

Now we can see the "SF" ( StopFilter) stage of the analyzers solving the problem of removing Stop Words<br />

("an" and "my"), and as we scroll down, we also see the "PSF" ( PorterStemFilter) stage apply stemming<br />

rules suitable for our English language input, such that the terms produced by our "index analyzer" and the terms<br />

produced by our "query analyzer" match the way we expect.<br />

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

177

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

Saved successfully!

Ooh no, something went wrong!