: : I'm trying to set different autocommit settings to 2 separate request : handlers...I would like a requesthandler to use an update handler and a : second requesthandler use another update handler... : : can I have more than one update handler in the same solrconfig? : how can I configure a requesthandler to a specific updatehandler?
I don't beleive it's possible to have more then one <updateHandler/> in your solrconfig.xml. The UpdateHandler is responsible for managing the IndexWRiter, and only one of those can be open against a Lucene index at a time (i'm fairly certian) One thing that's not clear from your question is wehter you realize that there are no "transactions" in Solr ... the notion of a "commit" applies to all documents thta have been added regardless of what RequestHandler they came from -- so having independent autoCommit settings for differnet RequestHandler instances would really give you anything ... when either handler triggers a commit, every document that has been added up until that point will be committed. -Hoss