Dear all,

if you pull from master nowadays, this is including lot of changes WRT 
fulltext management. If you don't want to reinstall your developing 
installation, you need to perform some upgrades to it.

In particular:

* updating the database tables:
$ cat modules/miscutil/sql/tabcreate.sql | /opt/cds-invenio/bin/dbexec
$ echo "ALTER TABLE bibdoc CHANGE docname docname varchar(250) COLLATE 
utf8_bin NOT NULL default 'file';" | /opt/cds-invenio/bin/dbexec
$ echo "ALTER TABLE bibdoc ADD COLUMN text_extraction_date datetime NOT NULL 
default '0000-00-00';" | /opt/cds-invenio/bin/dbexec

* running the icon migration kit (from your source tree):
$ sudo -u www-data python modules/websubmit/lib/icon_migration_kit.py --yes-i-
know
$ sudo -u www-data /opt/cds-invenio/bin/bibupload xxx ## (where xxx is the id 
scheduled by the migration kit)

* reindexing fulltextes:
$ sudo -u www-data /opt/cds-invenio/bin/bibindex --reindex -wfulltext -uadmin

Actually you might even want to reindex everything with:
$ sudo -u www-data /opt/cds-invenio/bin/bibindex --reindex -uadmin

as there is a new set of tables being available called idxPAIRs that are not 
yet used by WebSearch (although it will soon come).

There is already a known small issue related to external URL fulltext 
indexing. You can temporary disable external fulltext indexing by setting:

CFG_BIBINDEX_FULLTEXT_INDEX_LOCAL_FILES_ONLY = 1

in your /opt/cds-invenio/etc/invenio-local.conf file.

Best regards,
        Sam
-- 
Samuele Kaplun ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to