Closed GoogleCodeExporter closed 8 years ago
There are quite some JavaScript commands you can use to control the state of
the reporting database. I will crete a wiki page for those soon...
reporting.setAllStatusesDoneForTable();
^^ This call will reset all statusses to 'done' (instead of 'Running' which can
be blocking for future harvest actions...
reporting.dropTables("document,links,forum")
^^ It expects a string, a comma separated list of table names. Each of the
tables will be dropped. It will drop any table in the schema/database, no
additional checks done.
reporting.dropLastTimestampTable()
^^ drops the entire lastsuccesfullrun table. This will force harvesting to
harvest everything it can find in the repository. New rows will be inserted
only if it doesn't exist already in the reporting database.
reporting.clearLastTimestampTable("document")
^^ Execute against a single table name. It will make sure te lastrun date is
erased, thus everything will be harvested.
Original comment by tjarda.p...@incentro.com
on 6 Oct 2014 at 9:50
Original issue reported on code.google.com by
mwall...@ziaconsulting.com
on 26 Sep 2014 at 11:05