#920: BibRank: per-record citation indexing should not alter global time
----------------------+-----------------
Reporter: simko | Owner:
Type: defect | Status: new
Priority: critical | Milestone:
Component: BibRank | Version:
Keywords: |
----------------------+-----------------
The citation indexer updates its global timestamp even when it is launched
to index some particular records only. It should not. (Quite like
BibIndex that behaves well in this respect.)
Example: status before:
{{{
mysql> select * from rnkMETHOD;
+----+---------------------+---------------------+
| id | name | last_updated |
+----+---------------------+---------------------+
| 3 | citation | 2012-02-28 03:32:36 |
+----+---------------------+---------------------+
}}}
Now run:
{{{
$ sudo -u www-data /opt/invenio/bin/bibrank -u admin -w citation -v 9 -a
-i 10
[...]
Task #44 submitted
$ sudo -u www-data /opt/invenio/bin/bibrank 44
}}}
Status after:
{{{
mysql> select * from rnkMETHOD;
+----+---------------------+---------------------+
| id | name | last_updated |
+----+---------------------+---------------------+
| 3 | citation | 2012-02-28 13:57:46 |
mysql> select * from rnkMETHOD;
+----+---------------------+---------------------+
| id | name | last_updated |
mysql> select * from rnkMETHOD;
+----+---------------------+---------------------+
| id | name | last_updated |
+----+---------------------+---------------------+
| 3 | citation | 2012-02-28 13:57:46 |
+----+---------------------+---------------------+
}}}
This is not good. `rnkMETHOD.last_updated` should not have changed in this
run mode.
--
Ticket URL: <http://invenio-software.org/ticket/920>
Invenio <http://invenio-software.org>