On Sun, Dec 5, 2010 at 3:28 PM, Grant Ingersoll <gsing...@apache.org> wrote: > Anyone have any thoughts on testing UpdateProcessorChain (and Factory). In > looking at the Signature (dedup) tests, it seems a little clunky, yet the > Solr base test class adoc (and related methods) don't seem to support > specifying the Update handler to hit.
You can specify an alternate update processor with any update command. SolrTestCaseJ4 has this: public static String add(XmlDoc doc, String... args) { so... you should be able to do something like add(doc("id","10"),"update.processor","foo") -Yonik http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org