[Xapian-discuss] not found on this server.
Olly Betts
olly at survex.com
Tue Nov 29 23:39:23 GMT 2011
On Tue, Nov 29, 2011 at 08:10:37AM -0330, Roger Mason wrote:
> I am setting up omega to index a collection of reprints, mostly pdf
> documents. The documents are in ~/Research/E-prints, which is symlinked
> from the root directory of my web-server:
> lrwxrwxrwx 1 root root 31 2011-11-29 07:12 E-prints -> /home/rmason/Research/E-prints/
>
> I have indexed the E-print diectory:
>
> sudo omindex --db /var/lib/xapian-omega/data/default --url / /var/www/localhost/htdocs/E-prints
The --url argument give the URL corresponding to the start directory,
so you want: --url /E-prints
The indexer should notice the URLs have changed, but it'll be a bit
faster if you add "--overwrite" the first time you rerun this, so that
it starts from scratch.
Incidentally, it's better not to run things as root if you can avoid it,
so I'd remove the sudo here and set the permissions on
/var/lib/xapian-omega/data/ suitably. If the indexer gets run as user
"fred" then you can do that with:
chown -R fred /var/lib/xapian-omega/data
Cheers,
Olly
More information about the Xapian-discuss
mailing list