Last active
August 29, 2015 14:05
-
-
Save rom3r4/3b74ecf95568b5f2fabc 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
<attribute-sets default="overridden-attributes"> | |
<attribute-set id="overridden-attributes"> | |
<value-set> | |
<label>overridden-attributes</label> | |
<!-- | |
Below are some attributes of this component you can change. Please see | |
http://download.carrot2.org/head/manual/#section.customizing.component-suites-and-attributes.component-attributes | |
for tools that will help you to edit this file. | |
--> | |
<attribute key="SolrDocumentSource.serviceUrlBase"> | |
<value type="java.lang.String" value="http://localhost:8983/solr/clustering"/> | |
</attribute> | |
<attribute key="SolrDocumentSource.solrSummaryFieldName"> | |
<value type="java.lang.String" value="teaser"/> | |
</attribute> | |
<attribute key="SolrDocumentSource.solrTitleFieldName"> | |
<value type="java.lang.String" value="label"/> | |
</attribute> | |
<attribute key="SolrDocumentSource.solrUrlFieldName"> | |
<value type="java.lang.String" value="url"/> | |
</attribute> | |
<!-- Proxy clusters from Solr. Link on 'name' field. --> | |
<attribute key="SolrDocumentSource.solrIdFieldName"> | |
<value type="java.lang.String" value="id"/> | |
</attribute> | |
<attribute key="SolrDocumentSource.readClusters"> | |
<value value="true"/> | |
</attribute> | |
</value-set> | |
</attribute-set> | |
</attribute-sets> |
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/source-solr-attributes.xml