Project

General

Profile

« Previous | Next » 

Revision 7593

Added by Jing Tao almost 11 years ago

Read the solr configuration file name and collection name from the property file.

View differences:

test.properties
1 1
dataone.hazelcast.configFilePath=../lib/hazelcast.xml
2
solr.homeDir=target/classes/solr-home
2
#Embedded (default):
3
 solr.server.classname=org.apache.solr.client.solrj.embedded.EmbeddedSolrServer
4
 solr.homeDir=target/classes/solr-home
5
 solr.configFileName=solr.xml
6
 solr.collectionName=collection1
7
  
8
#HTTP:
9
 #solr.server.classname=org.apache.solr.client.solrj.impl.CommonsHttpSolrServer
10
 solr.endpoint=http://endpoint/to/solr/service

Also available in: Unified diff