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

-------- Original-Nachricht --------
> Datum: Mon, 17 Sep 2012 13:29:53 -0700
> Von: Jay Hill <jayallenh...@gmail.com>
> An: solr-user@lucene.apache.org
> Betreff: Best way to index Solr XML from w/in the same servlet container

> 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
> /update. Is there a better way to do this, or is SolrJ running w/in the
> same servlet container the most efficient way to index SolrJ from w/in the
> same servlet container that is running Solr?
> 
> Thanks,
> -Jay

Reply via email to