On Wed, Aug 7, 2013 at 2:32 AM, Edwin Crockford <[email protected]> wrote:
> I'm getting the following type of error message while
> attempting to rebuild a Lucy index:
>
> Can't open '/home/ipacs/ipacs/index/webdisk/seg_943/lextemp': No such file
> or directory
> lucy_FSFolder_local_open_filehandle at
> /root/.local/share/.cpan/build/Lucy-0.3.2-oCiVA7/core/Lucy/Store/FSFolder.c
> line 102
> lucy_Folder_local_open_in at
> /root/.local/share/.cpan/build/Lucy-0.3.2-oCiVA7/core/Lucy/Store/Folder.c
> line 97
> lucy_Folder_open_in at
> /root/.local/share/.cpan/build/Lucy-0.3.2-oCiVA7/core/Lucy/Store/Folder.c
> line 72
> lucy_PostPool_flip at
> /root/.local/share/.cpan/build/Lucy-0.3.2-oCiVA7/core/Lucy/Index/PostingPool.c
> line 179
>
> Anyone seen this before and have some ideas of what is going wrong?
I don't recall having seen that reported as a trouble spot before.
That particular error would occur after all docs have been added and while the
new segment is being finished. The Indexer is looking for a temporary file
related to the lexicon which should have been written while adding documents.
Some questions to help with troubleshooting:
* Is the error reproducible?
* Anything noteworthy about the file system -- e.g. is this an NFS volume?
* What do you mean by "reindexing"?
* Any permissions issues?
* What do you see in /home/ipacs/ipacs/index/webdisk/seg_943/ after the
crash?
* How many docs are being added before calling Indexer#commit?
* Any fields that have no data? I'm thinking something like a document that
contains a `foo => undef` pair. If that's the case, what happens if you
don't supply that key?
Marvin Humphrey