Discussion:
Lucene stops working
egorlex
2018-11-02 14:38:01 UTC
Permalink
Hi, I am new in Lucene and i have strange problem. Lucene stops working
without any errors after some time. It works fine for 1 day or several
hours. I did some investigation and found that 5 IndexReaders are opened in
the search method, but they do not close when exiting the method..can it be
a cause? Do I need to close the IndexReader after use?
(Lucene version 7.3.0)

I would be very grateful for the help.



--
Sent from: http://lucene.472066.n3.nabble.com/Lucene-Java-Users-f532864.html

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-***@lucene.apache.org
For additional commands, e-mail: java-user-***@lucene.apache.org
Erick Erickson
2018-11-02 16:46:18 UTC
Permalink
Is this custom code? What method? Can you show us a sample?

There's not enough information here to say much.
Post by egorlex
Hi, I am new in Lucene and i have strange problem. Lucene stops working
without any errors after some time. It works fine for 1 day or several
hours. I did some investigation and found that 5 IndexReaders are opened in
the search method, but they do not close when exiting the method..can it be
a cause? Do I need to close the IndexReader after use?
(Lucene version 7.3.0)
I would be very grateful for the help.
--
Sent from: http://lucene.472066.n3.nabble.com/Lucene-Java-Users-f532864.html
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-***@lucene.apache.org
For additional commands, e-mail: java-user-***@lucene.apache.org
Loading...