🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bionet.software.srs
Article #18

Re: How to get around changing .i files while indexing offline

#18
From: Tim Cutts
Date: Fri, 24 Sep 1999 00:00
45 lines
2371 bytes
In article <newscache$b68iif$ptj@pointy-haired-boss>,
Rodrigo Lopez <rls@ebi.ac.uk> wrote:
>Hi,
>
>There is another way of achieving what you want:
>
>1. Start a new UNIX session
>2. If you know how to use $SRSOFFINX you simply use it.
>OR: Check you srsdb.i for or add/edit something like this:
>
>   $libloc:[@EMBL_DB dir:"$dataRootF/embl/"]
>      indexDir:"$dataRootS/srsindex/"
>      offDir:"/ebi/services/ext/data/embl/"]
>
>offDir is the location of the new embl files you want to index.
>$SRSOFFINX is the location where you will store temporarily the index files.
>
>3. Do an srscheck embl.
>
>4. check the content of $SRSETC/srsupdate
>
>If everything is to your satisfaction you can start the indexing and
>continue to query the old embl database in the meantime.

No, Rodrigo, that doesn't work, as he said in his initial posting,
because the embl.i file has to be edited for the new divisions.  This
then means that even though you're building offline, the old inices will
start returning the wrong entries, because the embl.i file has changed.

You need to have an offline version o the database definition as well,
and SRS does not have that.  There are two solutions:

1)  Have a parallel installation of SRS on the same machine which you
use only for index building.  You can then copy the index files across
once its done, update the embl.i file in your online SRS, run srssection
and hey presto.  You do need to be very careful that the .i files are
exactly the same on both installations.

2)  Use the same scheme, but with completely separate machines.

I believe this is supposed to be fixed in SRS 6, but for commercial
sites like mine, buying a new faster machine is more cost-effective than
upgrading SRS.

Tim.
Technical Details
Message-ID: <xCy*c-S+n@news.chiark.greenend.org.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <19990921.17255300@lutetium.hgmp.mrc.ac.uk> <subaeqfxpy1.fsf@sanger.ac.uk> <newscache$b68iif$ptj@pointy-haired-boss>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fa6ec,45653d8a722b29d8
X-Google-Attributes: gidfa6ec,public
From: Tim Cutts <timc@chiark.greenend.org.uk>
Subject: Re: How to get around changing .i files while indexing offline
Date: 1999/09/24
Message-ID: <xCy*c-S+n@news.chiark.greenend.org.uk>
X-Deja-AN: 528980892
References: <19990921.17255300@lutetium.hgmp.mrc.ac.uk> <subaeqfxpy1.fsf@sanger.ac.uk> <newscache$b68iif$ptj@pointy-haired-boss>
Organization: Linux Unlimited
Newsgroups: bionet.software.srs
Originator: timc@news.chiark.greenend.org.uk ([127.0.0.1])