Re: IndexSchema from CommonsHttpSolrServer

2010-06-08 Thread Lance Norskog
To get the schema.xml file, look at how Solr's admin/index.jsp fetches it under the "Schema" button. You cannot get a nice, cleanly parsed schema object tree from SolrJ. On Tue, Jun 8, 2010 at 5:16 AM, Peter Karich wrote: > Hi Raakhi, > > I am not sure if I understand your usecase correctly, > b

Re: IndexSchema from CommonsHttpSolrServer

2010-06-08 Thread Peter Karich
Hi Raakhi, I am not sure if I understand your usecase correctly, but if you need this custom location to test against an existing schema/config file I found this snippet [1]. Otherwise the solr home can be set with -Dsolr.solr.home=/opt/solr/example" more information is available here [2] Rega

IndexSchema from CommonsHttpSolrServer

2010-06-08 Thread Rakhi Khatwani
Hi, Is there any way to create an IndexSchema from a CommonsHttpSolrServer. (where u don't know the location of schema.xml and solrconfig.xml or those files are in some other machine.) I tried looking for solrJ api's for the same. but coudn't find it. or is there any way to retrieve sch