lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kimberly Kantola <>
Subject SolrConfig - constructing the object
Date Fri, 05 Mar 2010 14:20:45 GMT

Hi All,
  I am new to using the Solr classes in development.  I am trying to
determine how to create  a SolrConfig object.  
  Is it just a matter of calling new SolrConfig with the location of the
solrconfig.xml file ?
SolrConfig config = new SolrConfig("solrconfig.xml");

in the constructor, do I give the full path to solrconfig.xml ?  in my
unpacked solr code, I see this file is located here :

is that the info I need to feed SolrConfig?
Thanks for any help!
View this message in context:
Sent from the Solr - Dev mailing list archive at

View raw message