I'm a bit nervous about commiting this (particular) example... the bits for commit() search() and delete() are generally useful, but addDocument() is locked to a toy example.
If we did include it, it should have a big disclaimer saying it is not an official interface only intended as a sample. I'd rather wait for a nicely flushed out and embeddable SOLR-20 (hopefully not too far off) then add something we would hopefully deprecate soon. As a wiki page it shows folks how to do what they need to do without locking down an interface just yet. ryan On 4/16/07, Chris Hostetter <[EMAIL PROTECTED]> wrote:
perhaps this should just be commited into o.a.s.util so it is compiled as part of hte regular build, and ilcuded in the solr JAR ... that way we can be sure it stays in sync with the API (and we could have a simple unit test that runs it and verifies no Exceptions are thrown) the wiki could point to it, and serve as documentation on why/how you might want to embed solr instead of using the WAR. -Hoss