﻿<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Quomon - text indexing</title>
    <link>https://quomon.com</link>
    <description>Questions and Answers for IT &amp; Graphic Design Professionals - text indexing</description>
    <language>en-us</language>
    <copyright>Quomon</copyright>
    <generator />
    <webMaster />
    <lastBuildDate>Tue, 09 Jun 2026 13:14:05 GMT</lastBuildDate>
    <ttl>20</ttl>
    <item>
      <guid>https://quomon.com/43848/System-IO-IOException-Lock-obtain-timed-out-Problem-indexing-with-lucene-net</guid>
      <title>System.IO.IOException: Lock obtain timed out - Problem indexing with lucene.net?</title>
      <link>https://quomon.com/43848/System-IO-IOException-Lock-obtain-timed-out-Problem-indexing-with-lucene-net</link>
      <description>Hi,
&lt;br&gt;
&lt;br&gt;I'm using the asp.net framework lucene.net to index text to be able to search it easily.
&lt;br&gt;This has been working fine, but suddenly I got problems with having write permissions to the directories that lucene uses (index and temp).
&lt;br&gt;
&lt;br&gt;I tried to delete the former indexing files, but I'm stuck at this error message:
&lt;br&gt;
&lt;br&gt;System.IO.IOException: Lock obtain timed out: Lock@D:\xxxxxxxxxxx\Temp\lucene-9ad3e71bc5841b99fcf8c97ba8b78a57-write.lock at Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout) at Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, Boolean create, Boolean closeDir) at Lucene.Net.Index.IndexWriter..ctor(String path, Analyzer a, Boolean create)
&lt;br&gt;
&lt;br&gt;I didn't change anything related to it, and I checked the write permissions, which are ok. I also still have the lockdir defined in the web.config file:
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;Anyone knows what could be the issue here?
&lt;br&gt;
&lt;br&gt;</description>
      <author>Anpanman</author>
      <pubDate>Tue, 19 Sep 2006 15:06:21 GMT</pubDate>
      <comments>https://quomon.com/43848/System-IO-IOException-Lock-obtain-timed-out-Problem-indexing-with-lucene-net#comments</comments>
      <category>lucene.net, text indexing</category>
    </item>
  </channel>
</rss>