You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Ravi Rao <rr...@alterpoint.com> on 2005/03/03 21:12:36 UTC
Checking an index
All,
I have written a utility that will check if an index has been
corrupted. The implementation is (my understanding of) an idea
proposed, to the best of my knowledge, by Doug Cutting on the
lucene-user's mailing list.
NullDirectory provides input and output streams that don't themselves
do anything useful. That is, there is no real index behind the
directory. However one can merge another index with an instance of
null index thereby causing a 'read' of the other index. This 'read'
will fail if that index is corrupt.
If there is any interest would someone please tell me how I can
contribute this to the sandbox. It requires more testing and quite
possibly improvement. However I would like to get the process of
contributing started.
Thanks,
--
Ravi(ndra) Rao/
Alterpoint Inc.
Re: Checking an index
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
Please contribute your code to a Bugzilla issue
(http://issues.apache.org/bugzilla/ - first create a new issue, then
make an attachment).
Erik
On Mar 3, 2005, at 3:12 PM, Ravi Rao wrote:
> All,
>
> I have written a utility that will check if an index has been
> corrupted. The implementation is (my understanding of) an idea
> proposed, to the best of my knowledge, by Doug Cutting on the
> lucene-user's mailing list.
>
> NullDirectory provides input and output streams that don't themselves
> do anything useful. That is, there is no real index behind the
> directory. However one can merge another index with an instance of
> null index thereby causing a 'read' of the other index. This 'read'
> will fail if that index is corrupt.
>
> If there is any interest would someone please tell me how I can
> contribute this to the sandbox. It requires more testing and quite
> possibly improvement. However I would like to get the process of
> contributing started.
>
> Thanks,
> --
> Ravi(ndra) Rao/
> Alterpoint Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org