Iūdex maintains state on all content to be processed in persisent storage. This includes all prioritization data. The current implementation makes direct use of PostgreSQL features for maximum efficiency:

All PostgreSQL dependencies are isolated in the iudex-da package. This should make it possible to experiment with alternatives such as fully distributed/partitioned NoSQL stores in the future.

Postgresql Setup

Postgresql should be setup with localhost trust access for the “iudex” user (which need not itself have superuser credentials.) An “iudex_test” database is used by tests and is the default for all execution. Setup:

% createuser iudex
% createdb iudex_test -O iudex
% iudex-migrate

If starting from a source tree, you will need to migrate the test database before being able to build the iudex-da gem. The migration can be run directly from the source tree:

% jbundle exec ./iudex-da/bin/iudex-migrate

Dependencies

Additional external dependencies: