What do you folks think?
I like it! I'm currently writing an update plugin that is extended from SolrRequestHandler because it has the default parameter stuff and is easily configurable. Do all UpdatePlugins need to implement: <add> <commit> <delete> etc? In practice, it seems like most plugins will override <add> (perhaps commit or commit at the end). If an UpdatePlugin is extended from DirectUpdateHandler, does each plugin have its own RAM indexer? (I hope not) Perhaps there needs to be an 'Indexer' and an 'UpdatePlugin'. The indexer would contain all the indexing functionality, and UpdatePlugins could all talk to the same indexer. It would be nice to be able to call: /update?ut=standard (post body: <add>...) /update?ut=sql&sql.query=... /update?ut=xls (post body: an uploaded excel spreadsheet) /update?ut=standard (post body: <commit/>) and have everything talking to the same RAM index. Is there any reason anyone would want/need to run multple Indexers? This would be the equivolent of running DirectUpdateHandler and DirectUpdateHandler2 at the same time. If not, the Indexer could be stored in SolrCore and each plugin could talk to it directly.
