You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Jeet Singh <je...@gmail.com> on 2008/03/22 13:23:42 UTC
Access Denied in opening IndexSearcher
Hi,
This is my first post to this group.
I'm using Lucene 2.3 on XP machine. I've an index of 3000 pages in a dir
named 'wcrawl', that I want to search through.
In the code, when i'm trying to open IndexSearcher at a specific
'Directory' location, it gives error of
FileNotFound: c:\raw\wcrawl\segments (Access Denied )
There are no software running in background (like antivirus etc.).
Please help
Thanks
Jeet Singh
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Access Denied in opening IndexSearcher
Posted by Erick Erickson <er...@gmail.com>.
Two things:
1> get a copy of Luke and try to navigate to your dir and open it.
That'll tell you if you are looking in the right place.
2> Post the code snippets where you open your index for
writing and where you open it for reading. That'll give folks
something to analyze.
Best
Erick
On Sat, Mar 22, 2008 at 8:23 AM, Jeet Singh <je...@gmail.com> wrote:
> Hi,
>
> This is my first post to this group.
> I'm using Lucene 2.3 on XP machine. I've an index of 3000 pages in a dir
> named 'wcrawl', that I want to search through.
>
> In the code, when i'm trying to open IndexSearcher at a specific
> 'Directory' location, it gives error of
> FileNotFound: c:\raw\wcrawl\segments (Access Denied )
>
> There are no software running in background (like antivirus etc.).
>
> Please help
> Thanks
> Jeet Singh
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>