You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by jon kerling <jo...@yahoo.com.INVALID> on 2015/07/07 15:53:23 UTC
IndexWriter error
Hi,
I'm usingĀ Lucene 4.3.1, from time to time I'm loosing data while indexing.I get an ERROR:"Lucene add index:this IndexWriter is closed".
I'm using IndexWriter.commit most of the time and when I finish I'm using IndexWriter.close.
What can cause this Error?How can I shorten the time of the IndexWriter closing state?
thanks,Jon
Re: IndexWriter error
Posted by Shawn Heisey <ap...@elyograg.org>.
On 7/7/2015 7:53 AM, jon kerling wrote:
> I'm using Lucene 4.3.1, from time to time I'm loosing data while indexing.I get an ERROR:"Lucene add index:this IndexWriter is closed".
> I'm using IndexWriter.commit most of the time and when I finish I'm using IndexWriter.close.
>
> What can cause this Error?How can I shorten the time of the IndexWriter closing state?
> thanks,Jon
You're on the solr-user mailing list, where most of us don't know much
about writing Lucene code. I think your question would be more
appropriate for the java-user mailing list:
https://lucene.apache.org/core/discussion.html
Thanks,
Shawn