Re: Best way to index Solr XML from w/in the same servlet container

2012-09-20 Thread Chris Hostetter
: I've created a custom process in Solr that has a Zookeeper Watcher : configured to pull Solr XML files from a znode. When I receive a file I can : send the file to /update and get it indexed, but that seems inefficient. I : could use SolrJ, but I believe that is still sending an HTTP request to

Re: Best way to index Solr XML from w/in the same servlet container

2012-09-18 Thread karsten-solr
Hi Jay, I would like to see the Zookeeper Watcher as part of DIH in solr. Possible you could extend org.apache.solr.handler.dataimport.DataSource. If you want to call solr without http you can use solrJ: org.apache.solr.client.solrj.embedded.EmbeddedSolrServer Beste regards Karsten