>There are probably some opportunities to use Java5 stuff like varargs...
...i'm doing that in validateAddDoc (which calls makeSimpleDoc) ... are there other methods you think it also makes sense for?
> Also what we really need is a way to dynamically add/create a schema, so one could add
> a new analysis filter,
> then define a fieldtype & field that uses it and test it out, without modifying some global
> testing schema.
i was operating under the assumption that for stuff like that, the best thing to do would be to have multiple sets of solrconfig/schema files ... for Solr itself there would probably be one big generic file that most tests could use, but any test that wanted to try something exotic would check in a new one (in a directory with the same name as the test class) and speciy it when constructing hte harness.
the only flaw in that plan right now is that SolrCore only lets you specify a schema file path when you construct it, not a solrconfig, but i was going to tackle refactoring that once i had the basics up and running.