Hi Thanks for the reply. Yes I wanted the executable to run after the commit operation. I would like to have the doc XML though. The further processing might be intensive and so I didn't want the document to wait for the extra processing before committing (if I use UpdateRequestProcessor). The other reason is because we are not developing in Java.
I have managed to run an executable but I have no idea how to get the document. Would it be risky to use the timestamp instead? i.e. The executable check the current timestamp and queyr solr for documents with that exact time stamp. (Or with a few millisecond tolerance?) Thanks Dewi -----Original Message----- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Tuesday, 10 July 2012 2:30 AM To: solr-user@lucene.apache.org Subject: Re: PostCommit Document > I would like to know how to use postCommit in SOLR properly. > I would like to grab the indexed document and do further > processing with it. How do I capture the documents > being committed to the SOLR through the arguments in the > postCommit config? I'm not using SolrJ and have no > intention in using Java at the moment. > If this is not possible, please let me know. Not sure but, I think <listener event="postCommit" is used to run some executables after the commit operation. It does not let you to modify committed documents. If you want further processing, http://wiki.apache.org/solr/UpdateRequestProcessor is used to modify solr documents being indexed.