[KinoSearch] new IndexReader on empty Index
Scott Beck
scottbeck at gmail.com
Sun Aug 19 10:45:15 PDT 2007
Hi Marvin,
On 8/19/07, Marvin Humphrey <marvin at rectangular.com> wrote:
>
> On Aug 17, 2007, at 10:14 AM, Scott Beck wrote:
>
> > Is there a reason it isn't possible to create a new IndexReader on an
> > empty index?
>
> The problem is that InvIndexer->finish declines to change the index
> if nothing has happened, so we end up with only the starter file and
> not a complete set of index files. I believe this is the error you
> encountered, based on the line number you reported.
>
I believe this is the case. The only file that exists in the index directory is:
segments_1.yaml
> If that were fixed, would it solve your current problem?
>
I tried commenting out the error checking in IndexReader.pm line 106
and it did fix the issue I'm having.
Thanks,
Scott
_______________________________________________
KinoSearch mailing list
KinoSearch at rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch
More information about the kinosearch
mailing list