So it seems not to be on the server side but on the client side. It doesn't seem to connect to a server, and brings some sort of local instance up. Within the searchContext-elasticsearch.xml
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns:elasticsearch=" http://www.springframework.org/schema/data/elasticsearch" xmlns:repository="http://www.springframework.org/schema/data/repository" xsi:schemaLocation=" http://www.springframework.org/schema/data/elasticsearch http://www.springframework.org/schema/data/elasticsearch/spring-elasticsearch-1.0.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd http://www.springframework.org/schema/data/repository http://www.springframework.org/schema/data/repository/spring-repository.xsd "> <elasticsearch:node-client id="client" cluster-name="search-cluster" > <bean id="elasticsearchTemplate" class="org.springframework.data.elasticsearch.core.ElasticsearchTemplate"> <constructor-arg name="client" ref="client" /> </bean> <bean id="generalElasticsearchTemplate" class="com.vouchd.search.core.GeneralElasticsearchTemplate"> <constructor-arg index="0" ref="client" /> </bean> <elasticsearch:repositories base-package="com.vouchd.search.repository" repository-impl-postfix="Impl" factory-class="com.vouchd.search.repository.ElasticsearchRepositoryFactoryBean" /> </beans> How can I make this section read from a specific file to load the mappings? I've also tried passing the settings path through the jvm settings. On Thu, Dec 19, 2013 at 4:46 PM, Lee Hinman <matthew.hin...@gmail.com>wrote: > On Thursday, December 19, 2013 4:40:21 PM UTC-7, Joshua Corb wrote: >> >> I have a feeling the issue is the application has a embedded version of >> elastic search. Is there a default path that elastic search will look for a >> configuration? Or a java variable I can add that will force it to look in a >> specific path? >> >> > You can configure it with the `-Des.path.conf` jvm configuration variable. > You can also retrieve the currently configured settings with the following: > > curl 'localhost:9200/_nodes/settings?pretty' > > which will look something like this (this example includes how your > analyzers will look): > > { > "ok" : true, > "cluster_name" : "vouchd-search", > "nodes" : { > "nKB19zwmSY-a56JGPWqj9Q" : { > "name" : "Midas", > "transport_address" : "inet[/10.175.76.85:9300]", > "hostname" : "Xanadu.local", > "version" : "0.90.7", > "http_address" : "inet[/10.175.76.85:9200]", > "settings" : { > "path.home" : "/Users/hinmanm/esi/elasticsearch-0.90.7", > "foreground" : "yes", > "index.analysis.analyzer.autocomplete.type" : "custom", > "index.analysis.analyzer.autocomplete.filter.0" : "lowercase", > "index.analysis.analyzer.autocomplete_search.tokenizer" : > "whitespace", > "index.analysis.analyzer.autocomplete_search.type" : "custom", > "cluster.name" : "vouchd-search", > "index.analysis.analyzer.autocomplete_search.filter.0" : "lowercase", > "index.analysis.filter.auto_edge_ngram.max_gram" : "15", > "index.analysis.filter.auto_edge_ngram.min_gram" : "2", > "index.analysis.filter.auto_edge_ngram.type" : "edgeNGram", > "index.analysis.analyzer.autocomplete.tokenizer" : "whitespace", > "name" : "Midas", > "path.logs" : "/Users/hinmanm/esi/elasticsearch-0.90.7/logs" > } > } > } > } > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "elasticsearch" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/elasticsearch/8oB1lM8sUHg/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > elasticsearch+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/104edaa2-3c93-4021-a6ae-8b616ec6a516%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAG%2BZfhDK1deN3ZQc7iGk9E4nYqFaDmKNc-7YGmhve8mBF7y-XQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.