There are such RequestHandlers. Look at CSVRequestHandler, for example.

             IndexWriter writer = new IndexWriter(FSDirectory.open(new
File(req.getCore().getDataDir(), "index")), req.getSchema().getAnalyzer(),
IndexWriter.MaxFieldLength.LIMITED);
             updateSolrIndex(writer);

Don't use your own writer for same index. Use 
UpdateRequestProcessor.processAdd() instead.

koji
--
http://www.rondhuit.com/en/

Reply via email to