lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shad Storhaug (JIRA)" <>
Subject [jira] [Commented] (LUCENENET-561) After certain size, write.lock file takes time to delete automayically (Lucene Indexes)
Date Thu, 29 Jun 2017 09:16:00 GMT


Shad Storhaug commented on LUCENENET-561:


Did Andy's advice help? Were you able to resolve this by using a single IndexWriter instance?

> After certain size, write.lock file takes time to delete automayically (Lucene Indexes)
> ---------------------------------------------------------------------------------------
>                 Key: LUCENENET-561
>                 URL:
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: Asp.Net mvc
>            Reporter: Gaurav Bhardwaj
>            Priority: Critical
> We are using the lucene indexes to save the image thumbnail. Its working fine but recently
after running 6-7 months its started throwing error for write.lock file in lucene indexes.
> When I went through the error I got to know that:
> 1) After creating thumbnail image when we save that in lucene indexes then one write.lock
file gets created and then meanwhile(when its storing in lucene indexes) if I create the thumbnail
image for the another image and store in lucene index then Lucene index throws error.
> Reason:- After completing the storing operation write.lock file should be deleted automatically
but in the mean time user click on another image and then second operation of storing thumbnail
image in lucene index starts. That's why the first write.lock file does not get deleted and
it throws error.
> Note:-
> 1) My lucene index size is around 1 GB and that's why it's taking time to delete the
write.lock file.
> What I did to resolve this issue:-
> 1) I deleted the lucene indexes and recreated those from scratch and this resolved my
error. When lucene indexes creat from scratch then write.lock file does not take time to delete.
> I want to know If there any file size limit for the lucene indexes?
> If I need to delete the lucene index after certain file size limit?

This message was sent by Atlassian JIRA

View raw message