lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Narendra yadala" <narendra.yad...@gmail.com>
Subject Re: Lucene indexing error
Date Mon, 08 Oct 2007 16:00:54 GMT
But then the core problem is that the index that is created is in a totally
corrupted state.
So deleting or keeping the lock does not make a difference as the Index
itself is not created properly.
The problem arises when the index is getting created itself.

Regards
Narendra


On 10/8/07, saikrishna venkata pendyala <pvsaikrishna@gmail.com> wrote:
>
> Lucene creates an lock on the index before using it and then unlock the
> index, after using it. If the lucene is interuptted and is closed by force
> the, index remains in locked state and it cannot be used.
>
> Generally in linux lucene lock information file is create in /tmp
> directory.
> Delete the lock file to unlock the lucene index and index can be used
> again.
>
>
> On 10/8/07, Narendra yadala <narendra.yadala@gmail.com> wrote:
> >
> > I think this bug is related to the one posted on Lucene JIRA:
> > http://issues.apache.org/jira/browse/LUCENE-665
> > Please let me know if there is any solution to this bug of Lucene.
> >
> > Thanks
> > Narendra
> >
> >
> > On 10/8/07, Joe Attardi <jattardi@gmail.com> wrote:
> > >
> > > On 10/8/07, Narendra yadala <narendra.yadala@gmail.com> wrote:
> > > >
> > > > I do have permission to access Lucene files. They reside on my local
> > > > machine.
> > > > But still this is giving the error.I am using Windows XP operationg
> > > > system.
> > > >
> > >
> > > Well, since you are opening an IndexReader (as evidenced by your stack
> > > trace), I assume that the file that Lucene is trying to create is a
> lock
> > > file. Do you have any stale lock files, or any other kind of weird
> > > situation
> > > that might prevent a lock file from being created in your index
> > directory?
> > >
> > > What if you try a different directory for your index - do you get the
> > same
> > > error then?
> > >
> > > --
> > > Joe Attardi
> > > jattardi@gmail.com
> > > http://thinksincode.blogspot.com/
> > >
> >
>

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