Re: Handling a closed IndexWriter in SOLR 4.0

2013-03-18 Thread Mark Miller
I'll fix it - I put up a patch last night. - Mark On Mar 18, 2013, at 1:12 AM, mark12345 wrote: > This looks similar to the issue I also have: > > * > http://lucene.472066.n3.nabble.com/Solr-4-1-4-2-SolrException-Error-opening-new-searcher-td4046543.html >

Re: Handling a closed IndexWriter in SOLR 4.0

2013-03-17 Thread mark12345
This looks similar to the issue I also have: * http://lucene.472066.n3.nabble.com/Solr-4-1-4-2-SolrException-Error-opening-new-searcher-td4046543.html *https://issues.apache.org/jira/browse

Re: Handling a closed IndexWriter in SOLR 4.0

2013-03-14 Thread Otis Gospodnetic
Hi Scott, Not sure why IW would be closed, but: * consider not (hard) committing after each doc, but just periodically, every N minutes * soft committing instead * using 4.2 Otis -- Solr & ElasticSearch Support http://sematext.com/ On Thu, Mar 14, 2013 at 11:55 AM, Danzig, Scott wrote: > He

Handling a closed IndexWriter in SOLR 4.0

2013-03-14 Thread Danzig, Scott
Hey all, We're using a Solr 4 core to handle our article data. When someone in our CMS publishes an article, we have a listener that indexes it straight to solr. We use the previously instantiated HttpSolrServer, build the solr document, add it with server.add(doc) .. then do a server.commit(