Skip to content

Latest commit

 

History

History
27 lines (10 loc) · 448 Bytes

README.markdown

File metadata and controls

27 lines (10 loc) · 448 Bytes

solr-num-mentions

This plugin adds the number of mentions for each search term to the solr response.

Build + Install

mvn compile

The copy the jar in dist/ to you solr lib directory, and add this to your solrconfig.xml

<searchComponent name="numMentions" class="net.matthaynes.solr.NumMentionsSearchComponent" />

And this in your request handler

<arr name="last-components">
  <str>numMentions</str>
</arr>