On Thu, Oct 15, 2009 at 10:42 PM, William Pierce <evalsi...@hotmail.com>wrote:

> Thanks, Shalin.   I am sorry if I phrased it incorrectly.  Yes,  I want to
> know how to delete documents in the solr index using the $deleteDocByQuery
> special command.   I looked in the wiki doc and could not find out how to do
> this....
>
>
Sorry, I misunderstood your intent. These special flag variables can be
emitted by Transformers. So what you can do is write a Transformer which
checks if the current row contains "PendingDelete" in the column and add a
key/value pair to the Map. The key should be "$deleteDocByQuery" and value
should be the Solr query to be used for deletion. You can write the
transformer in Java as well as Javascript.

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to