lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <erickerick...@gmail.com>
Subject Re: Access Denied in opening IndexSearcher
Date Sat, 22 Mar 2008 17:57:09 GMT
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 <jeet232@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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message