[ http://issues.apache.org/jira/browse/SOLR-65?page=all ]
Mike Klaas updated SOLR-65: --------------------------- Attachment: autocommit_patch.diff Basic autocommit implementation. Not complete: this patch still requires a scheduled call to checkCommit() to have the correct semantics--it is something I'm working on. I posted this patch to get feedback on the thread synchronization strategy. I eliminated all synchronized blocks, and instead am using a reader/writer lock from java.util.concurrent for synchro. Virtually everything is serialized using the writer lock (like the old strategy), but document adding degrades its lock to a lowered-contention reader lock before adding hte document to the index. > autoCommit/autoOptimize implementation + multithreaded document adding > ---------------------------------------------------------------------- > > Key: SOLR-65 > URL: http://issues.apache.org/jira/browse/SOLR-65 > Project: Solr > Issue Type: New Feature > Components: update > Reporter: Mike Klaas > Assigned To: Mike Klaas > Attachments: autocommit_patch.diff > > > Basic implementation of autoCommit/autoOptimize functionality, plus overhaul > of DUH2 threading to reduce contention -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira