[Refdb-users] Same Keyword Listed Twice
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mar...@mh...> - 2006-06-17 19:53:55
|
Hi, Rich Shepard writes: > I have two references that discuss the shortnose sucker. For each one there > is a separate line with 'KW - shortnose'. Since that's the only instance of > the keyword in each of the two records, I expect it to appear in the keyword > list (getkw) only once. But, it appears twice, sequentially. > > The spelling is the same, there is not an extra space after one word. I'm > curious why it would appear twice in the list of keywords. > I thought I had implemented the behaviour that you expect. I did not manage to reproduce this on my system. I switched to PostgreSQL for this test to be as close to your system as possible. No matter what I did, the only way to store the keyword twice in a reference is to add two identical lines to the same RIS reference. It is a matter of taste whether this behaviour makes sense. There is also an automatic keyword scan which is turned on by default. It scans the titles and abstracts of new or updated references for keywords already known to the database. However, refdbd checks whether the reference has already specified the keyword before adding it to that reference, so duplicates are not possible. I have no idea how you managed to get duplicate keyword entries in a single reference without specifying the keyword twice. Do you still have the input files handy? regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |