On 1/24/07, Scott Leonard <[EMAIL PROTECTED]> wrote:
Can I speedup a solr add-post by threading an add process and asynchronously updating records? Or does solr do some locking that would make this irrelevant.
Yes. Parsing of the XML and text analysis of the documents would all proceed in parallel (more or less, there are some small synchronization point to keep track of what docs were added, and Lucene currently blocks new documents from being added while a segment merge is in progress). Hopefully we can have a component that does this on the server side for large numbers of documents at some point (if a bunch of documents are added in a single request). -Yonik