: 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... Marc Sturlese wrote: > > Hey there, > I would like to be able to do something like: After the indexing process > is done with DIH I would like to open an indexreader, iterate over all > docs, modify some of them depending on others and delete some others. I > can easy do this directly coding with lucene but would like to know if > there's a way to do it with Solr using SolrDocument or SolrInputDocument > classes. > I have thougth in using SolrJ or DIH listener onImportEnd but not sure if > I can get an IndexReader in there. > Any advice? > Thanks in advance > -- View this message in context: http://www.nabble.com/update-some-index-documents-after-indexing-process-is-done-with-DIH-tp24695947p24755320.html Sent from the Solr - User mailing list archive at Nabble.com.