Path: utzoo!mnetor!tmsoft!torsqnt!hybrid!scifi!bywater!uunet!brunix!rca From: rca@cs.brown.edu (Ronald C.F. Antony) Newsgroups: comp.sys.next Subject: Re: Indexing Digital Librarian Targets Message-ID: <62697@brunix.UUCP> Date: 28 Jan 91 00:25:47 GMT References: <1991Jan25.165550.24316@gpu.utcs.utoronto.ca> Sender: news@brunix.UUCP Reply-To: rca@cs.brown.edu (Ronald C.F. Antony) Organization: Brown University Department of Computer Science Lines: 21 In article <1991Jan25.165550.24316@gpu.utcs.utoronto.ca> judge@gpu.utcs.utoronto.ca (Peter Judge) writes: >How come when I try to update the index file for a target in >Digital Librarian (under v2.0) it doesn't do the job? > >The only way I've found to successfully have an updated >index file is to destroy it and then re-create it. > >Am I doing something wrong? You are not doing anything wrong. The truth is that under 2.0 the index files have a new, improved structure (they use now b-trees instead of hash tables). Thus of course the new routines can't update an old structure. You therefore have to delete the index and create a new one. Ronald ------------------------------------------------------------------------------ "The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man." G.B. Shaw | rca@cs.brown.edu or antony@browncog.bitnet