You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Lance Norskog <go...@gmail.com> on 2008/02/08 05:15:27 UTC
Lucene index verifier
(Sorry, my Lucene java-user access is wonky.)
I would like to verify that my snapshots are not corrupt before I enable
them.
What is the simplest program to verify that a Lucene index is not corrupt?
Or, what is a Solr query that will verify that there is no corruption? With
the minimum amount of time?
Thanks,
Lance Norskog
RE: Lucene index verifier
Posted by Lance Norskog <go...@gmail.com>.
Given the size of our index, using file checksums is more feasible.
-----Original Message-----
From: yseeley@gmail.com [mailto:yseeley@gmail.com] On Behalf Of Yonik Seeley
Sent: Friday, February 08, 2008 5:10 AM
To: solr-user@lucene.apache.org
Subject: Re: Lucene index verifier
If someone wanted those additional checks, it seems like the right place to
hook it in would be the snapshooter or snapinstaller.
-Yonik
On Feb 8, 2008 8:04 AM, Grant Ingersoll <gs...@apache.org> wrote:
> I think Mike M. put up a tool called CheckIndex that is a simple
> driver program that checks for corruption. However, my understanding
> is that he isn't sure it is complete just yet, but it is a start.
> Have a look in the latest release.
>
> Maybe it would be useful to have it run either on startup or
> periodically in Solr (if configured to do so). I haven't tried it, so
> I don't know what effect it has on performance/search/indexing.
>
> -Grant
>
>
> On Feb 7, 2008, at 11:15 PM, Lance Norskog wrote:
>
> > (Sorry, my Lucene java-user access is wonky.)
> >
> > I would like to verify that my snapshots are not corrupt before I
> > enable them.
> >
> > What is the simplest program to verify that a Lucene index is not
> > corrupt?
> >
> > Or, what is a Solr query that will verify that there is no
> > corruption? With the minimum amount of time?
> >
> > Thanks,
> >
> > Lance Norskog
>
>
>
Re: Lucene index verifier
Posted by Yonik Seeley <yo...@apache.org>.
If someone wanted those additional checks, it seems like the right
place to hook it in would be the snapshooter or snapinstaller.
-Yonik
On Feb 8, 2008 8:04 AM, Grant Ingersoll <gs...@apache.org> wrote:
> I think Mike M. put up a tool called CheckIndex that is a simple
> driver program that checks for corruption. However, my understanding
> is that he isn't sure it is complete just yet, but it is a start.
> Have a look in the latest release.
>
> Maybe it would be useful to have it run either on startup or
> periodically in Solr (if configured to do so). I haven't tried it, so
> I don't know what effect it has on performance/search/indexing.
>
> -Grant
>
>
> On Feb 7, 2008, at 11:15 PM, Lance Norskog wrote:
>
> > (Sorry, my Lucene java-user access is wonky.)
> >
> > I would like to verify that my snapshots are not corrupt before I
> > enable
> > them.
> >
> > What is the simplest program to verify that a Lucene index is not
> > corrupt?
> >
> > Or, what is a Solr query that will verify that there is no
> > corruption? With
> > the minimum amount of time?
> >
> > Thanks,
> >
> > Lance Norskog
>
>
>
Re: Lucene index verifier
Posted by Grant Ingersoll <gs...@apache.org>.
I think Mike M. put up a tool called CheckIndex that is a simple
driver program that checks for corruption. However, my understanding
is that he isn't sure it is complete just yet, but it is a start.
Have a look in the latest release.
Maybe it would be useful to have it run either on startup or
periodically in Solr (if configured to do so). I haven't tried it, so
I don't know what effect it has on performance/search/indexing.
-Grant
On Feb 7, 2008, at 11:15 PM, Lance Norskog wrote:
> (Sorry, my Lucene java-user access is wonky.)
>
> I would like to verify that my snapshots are not corrupt before I
> enable
> them.
>
> What is the simplest program to verify that a Lucene index is not
> corrupt?
>
> Or, what is a Solr query that will verify that there is no
> corruption? With
> the minimum amount of time?
>
> Thanks,
>
> Lance Norskog