lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Aroush (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENENET-21) Problem with FSDirectory.SetDisableLocks
Date Tue, 10 Oct 2006 01:25:20 GMT
    [ http://issues.apache.org/jira/browse/LUCENENET-21?page=comments#action_12441026 ] 
            
George Aroush commented on LUCENENET-21:
----------------------------------------

Hi Sree,

What you are describing is a question, and not necessarily a defect in Lucene.Net.  Please
post this question on the Lucene.Net mailing list (and preferably with an example code which
demonstrate what you are seeing) so someone may be able to help.

For now, I will close this issue.  It can reopen once we have a better handle of what the
issue is.

Regards,

-- George 

> Problem with FSDirectory.SetDisableLocks
> ----------------------------------------
>
>                 Key: LUCENENET-21
>                 URL: http://issues.apache.org/jira/browse/LUCENENET-21
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: XP Pro, Visual Studio.NET
>            Reporter: Srinivas Vadrevu
>
> When I try to execute the method SetDisableLocks in the local machine, it works fine,
but when I deploy to my hosting directory, it throws the following exception:
> The type initializer for 'Lucene.Net.Store.FSDirectory' threw an exception.
> at Lucene.Net.Store.FSDirectory.SetDisableLocks(Boolean doDisableLocks) at RadioSaiIndexer.search(String
queryString) in d:\hosting\svadrevu\sse\App_Code\RadioSaiIndexer.cs:line 75
> IndexPath=d:\hosting\svadrevu\sse\App_Data\tftdindex
> I think it has something to do with the lock directory and write permissions.  I had
similar problem, when i didn't disable locks, as it is trying to write outside the application
directory.  But now I cannot even disable locks as it is throwing an exception.  Can anyone
please help with this issue?
> Thanks a bunch,
> Sree.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message