Last active
August 29, 2015 14:05
-
-
Save rom3r4/9863c8fe1f7704356920 to your computer and use it in GitHub Desktop.
Integration of Tomcat7 + JDK7 + Solr4 + Carrot2 - .XML files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<component-suite> | |
<!-- | |
<sources> | |
--> | |
<!-- Webapp-specific document source (prefetching from Google) --> | |
<!-- | |
<source component-class="org.carrot2.webapp.source.WebDocumentSource" id="web"> | |
<label>Web</label> | |
<title>Search the Web with etools.ch</title> | |
<description>Searches the web using the etools.ch meta search | |
engine</description> | |
<mnemonic>W</mnemonic> | |
<example-queries> | |
<example-query>data mining</example-query> | |
<example-query>london</example-query> | |
<example-query>clustering</example-query> | |
</example-queries> | |
</source> | |
</sources> | |
--> | |
<components> | |
<component component-class="org.carrot2.webapp.filter.QueryWordHighlighter" | |
id="org.carrot2.webapp.filter.QueryWordHighlighter" | |
attribute-sets-resource="component-query-highlighter-attributes.xml"> | |
<label>Query Highlighter</label> | |
<title>Webapp in-document Query Highlighter component</title> | |
</component> | |
</components> | |
<include suite="source-solr.xml" /> | |
<!-- Search engines. --> | |
<!-- | |
<include suite="source-bing.xml" /> | |
<include suite="source-wiki.xml" /> | |
--> | |
<!-- PubMed, Indeed job search. --> | |
<!-- | |
<include suite="source-indeed.xml" /> | |
<include suite="source-pubmed.xml" /> | |
<include suite="source-put.xml" /> | |
--> | |
<!-- Algorithms --> | |
<include suite="algorithm-stc.xml" /> | |
<include suite="algorithm-lingo.xml" /> | |
<include suite="algorithm-kmeans.xml" /> | |
<include suite="algorithm-synthetic.xml" /> | |
</component-suite> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cat /var/lib/tomcat7/webapps/carrot2/WEB-INF/suites/suite-webapp.xml