I am using DIH to load data from distinct locations and include a location 
specific field for faceting and hopefully deleting.  My current invocation of 
the DIH though, deletes all documents.  
 
After a little searching it looks like the proper config / invoke of the 
directUpdateHandler2.deleteByQuery() is what I'm looking but can't find any 
examples of how to do this.  
 
The best would be access at the request line, e.g., 
 
../solr/locationImport?command=full-import&deleteByQuery=locationField:location&..
 
Or something like that.  Have already customized a transformer but this is 
after the fact of the delete.  
 
Any pointers are appreciated!
 
Thanks

Reply via email to