The AutoPhrase TokenFilter is a powerful Solr plugin that helps you recognize and index multi-word expressions as single tokens (think: “New York City” as one unit, not three). This can significantly improve the quality of search, autocomplete, and analytics.
Not on all Opensolr environments!
If you’re trying to use the AutoPhraseTokenFilterFactory
and see errors like:
Plugin not found: solr.AutoPhraseTokenFilterFactory
…then the jar isn’t active on your server (yet).
Contact Us
Simply send us a request and we’ll install the AutoPhrase library (or pretty much any other custom Solr plugin) for you.
How to Request a Plugin
Optionally, send the JAR file directly if it’s a custom or non-public library.
After Installation
<filter class="solr.AutoPhraseTokenFilterFactory" ... />
element to your field type in schema.xml
.Questions? Contact Opensolr Support — we’re happy to help!
(If you’re a plugin power user, give us a heads up and we’ll have your Solr instance doing backflips in no time. 🕺)