: If you make your EventListener implements SolrCoreAware you can get
: hold of the core on inform. use that to get hold of the
: SolrIndexWriter 

Implementing SolrCoreAware I can get hold of the core and easy get hold of A
SolrIndexSearcher and so a reader. But I can't see the way to get hold of
SolrIndexWriter just holding core...
===================================================================
This is how you get 

  SolrIndexWriter writer = new
SolrIndexWriter("SolrCore.initIndex",getIndexDir(), true, schema,
mainIndexConfig);


Ankit
-- 
View this message in context: 
http://old.nabble.com/update-some-index-documents-after-indexing-process-is-done-with-DIH-tp24695947p28020805.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to