Skip to content

Instantly share code, notes, and snippets.

@rom3r4
Last active August 29, 2015 14:05
Show Gist options
  • Save rom3r4/0a2c108144b1ab7eba8e to your computer and use it in GitHub Desktop.
Save rom3r4/0a2c108144b1ab7eba8e to your computer and use it in GitHub Desktop.
Integration of Tomcat7 + JDK7 + Solr4 + Carrot2 - .XML files.
<component-suite>
<sources>
<source component-class="org.carrot2.source.solr.SolrDocumentSource" id="solr"
attribute-sets-resource="source-solr-attributes.xml">
<label>ODS Search</label>
<title>Open Discovery Space Search</title>
<icon-path>icons/solr.png</icon-path>
<mnemonic>s</mnemonic>
<description>Open Discovery Space Search Engine.</description>
<example-queries>
<example-query>test</example-query>
<example-query>solr</example-query>
</example-queries>
</source>
</sources>
<!-- Algorithms -->
<include suite="algorithm-passthrough.xml"></include>
</component-suite>
@rom3r4
Copy link
Author

rom3r4 commented Aug 27, 2014

cat /var/lib/tomcat7/webapps/carrot2/WEB-INF/suites/source-solr.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment