Created
November 1, 2011 09:09
-
-
Save mente/1330194 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<bean id="searchNode" class="org.example.factory.ElasticSearchNodeFactoryBean" | |
p:configLocation="${elasticsearch.configLocation}"> | |
<property name="settings"> | |
<util:map> | |
<entry key="node.client" value="true" /> | |
</util:map> | |
</property> | |
</bean> | |
<bean id="searchClient" factory-bean="searchNode" factory-method="client" /> | |
<bean id="adminClient" factory-bean="searchClient" factory-method="admin" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment