<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE components PUBLIC "-//SEASAR//DTD S2Container 2.4//EN"
	"http://www.seasar.org/dtd/components24.dtd">
<components>
	<component name="solrServerProperties" class="jp.sf.fess.util.FessProperties">
		<arg>
			@jp.sf.fess.util.ResourceUtil@getConfPath("solrserver.properties")
		</arg>
	</component>

	<!-- Solr Server Configuration -->
	<component name="solrServer1" class="jp.sf.fess.solr.FessSolrServer">
		<!-- Solr Server URL -->
		<arg>"http://localhost:8080/solr/core1"</arg>
		<property name="dataDir">"${solr.data.dir}"</property>
		<property name="requestWriter">new jp.sf.fess.solr.BinaryRequestWriter()</property>
		<!-- Credential Info -->
		<initMethod name="setCredentials">
			<arg>@org.apache.commons.httpclient.auth.AuthScope@ANY</arg>
			<arg>
				<component class="org.apache.commons.httpclient.UsernamePasswordCredentials">
					<arg>"solradmin"</arg><!-- Username -->
					<arg>"solradmin"</arg><!-- Password -->
				</component>
			</arg>
		</initMethod>
	</component>

	<!-- Solr Server Manager Configuration -->
	<component name="solrServerManager" class="jp.sf.fess.solr.SolrServerManager">
		<initMethod name="addSolrServerGroup"><arg>solrGroup1</arg></initMethod>
	</component>

	<!-- Solr Group Configuration -->
	<component name="solrGroup1" class="jp.sf.fess.solr.SolrServerGroup">
		<!-- Note: groupName cannot include ".". -->
		<property name="groupName">"solrGroup1"</property>
		<initMethod name="addServer">
			<!-- Note: the server name cannot include ".". -->
			<arg>"solrServer1"</arg><!-- Group Name -->
			<arg>solrServer1</arg><!-- Solr Server -->
		</initMethod>
		<!-- 
		<property name="maxErrorCount">3</property>
		<property name="maxRetryStatusCheckCount">5</property>
		<property name="retryStatusCheckInterval">1000</property>
		<property name="maxRetryUpdateQueryCount">3</property>
		<property name="retryUpdateQueryInterval">1000</property>
		<property name="minActiveServer">1</property>
		 -->
	</component>

	<!-- Solr Group Configuration 
	<component name="solrGroup2" class="jp.sf.fess.solr.SolrServerGroup">
		<property name="groupName">"solrGroup2"</property>
		<initMethod name="addServer">
			<arg>"solrServer1"</arg>
			<arg>solrServer1</arg>
		</initMethod>
	</component>
	 -->

</components>
