Hi Samuele, [...] > For that you can follow the guide: > > <http://ddd.uab.cat/help/admin/bibindex-admin-guide#4.3> > > but just the part dedicated to bibrank. I.e. you should run something like: > > $ echo "SELECT id FROM rnkMETHOD" | /opt/cds-invenio/bin/dbexec > $ echo "TRUNCATE rnkWORD01F" | /opt/cds-invenio/bin/dbexec > $ echo "TRUNCATE rnkWORD01R" | /opt/cds-invenio/bin/dbexec > > (This is it, as there are no other existing rnkWORD tables out of the box). > > If you then reissue the normal bibrank, the first time it might take some > hours, but then you should no longer have these exception for quite some > time...
I've truncated the tables, but even when I try to recreate those indexes from scratch, it really seems that until a new record is added later today, it refuses to do anything: $ bibrank -R -f50000 -wwrd -u admin The log says: 2012-04-27 09:06:22 --> Task #85778 started. Warning: Psyco No module named psyco 2012-04-27 09:06:22 --> Running rank method: semblança de paraules 2012-04-27 09:06:22 --> rnkWORD01F contains 0 words from 0 records 2012-04-27 09:06:22 --> rnkWORD01F is in consistent state 2012-04-27 09:06:22 --> Using the last update time for the rank method 2012-04-27 09:06:22 --> No new records added. rnkWORD01F is up to date 2012-04-27 09:06:22 --> Beginning recalculation of None terms 2012-04-27 09:06:22 --> Phase 1: Finished finding which records contains which terms 2012-04-27 09:06:22 --> Phase 2: Jumping over..already done in phase 1 because of -R option 2012-04-27 09:06:22 --> Phase 3: Calculating importance of all affected terms 2012-04-27 09:06:22 --> Phase 3: Finished calculating importance of all affected terms 2012-04-27 09:06:22 --> Phase 4: Calculating normalization value for all affected records and updating rnkWORD01R 2012-04-27 09:06:22 --> Phase 4: Finished calculating normalization value for all affected records and updating rnkWORD01R 2012-04-27 09:06:22 --> Phase 5: Updating rnkWORD01F with new normalization values 2012-04-27 09:06:22 --> Phase 5: Finished updating rnkWORD01F with new normalization values 2012-04-27 09:06:22 --> Time used for post-processing: 0.0min 2012-04-27 09:06:22 --> Finished post-processing 2012-04-27 09:06:22 --> rnkWORD01F contains 0 words from 0 records 2012-04-27 09:06:22 --> rnkWORD01F is in consistent state 2012-04-27 09:06:22 --> Task #85778 finished. [DONE] We'll wait and see. Thanks a lot, Ferran

