Hi Petr,
On 05/06/2014 03:03 PM, Petr Brož wrote:
Hello Ferran,
Maybe it is similar to something that I experienced some years ago.
Tibor ended up recomending me to directly truncate the index tables:
http://cdsware.cern.ch/lists/project-cdsware-users/archive/msg01014.shtml
$ echo "TRUNCATE idxWORD55F" | /opt/cds-invenio/bin/dbexec
$ echo "TRUNCATE idxWORD55R" | /opt/cds-invenio/bin/dbexec
[...]
In your case, change 55 for 01.
I have truncated all idx tables for index 01 and then run bibindex -R
reindexing all (other) indexes and it has worked. Thank you for the
suggestion.
Looks like the virtual index cannot be directly reindexed but its
components are reindexed together with the dependent indexes. But
there appears to be some bug in the algorithm because the information
in the virtual index can become stale after the reindexing of the
dependant indexes as was in my case.
Interesting finding and if indeed this is a bug, it is a dangerous one!
Could you please submit a ticket on this so it doesn't get forgotten?
Cheers,
Ludmila
--
Ludmila Marian
Software Engineer
CERN, IT Department, Digital Library Service Section