From: Demian K. <dem...@vi...> - 2010-10-20 02:28:53
|
Thanks for the fix -- I'll test this out tomorrow morning. Regarding Eoghan's missing "use instead" entries, I can't help wondering if this has something to do with the Windows platform (and more specifically the compromises I made in adapting your shell scripts into batch files). I'm not going to have access to my Windows box until Thursday, but if this isn't resolved by then, I'll take a deeper look. In the meantime, it might be helpful to know where in the process the "use for" headings are set up in the first place -- perhaps that will help pinpoint some platform-related difference. - Demian ________________________________________ From: Mark Triggs [mt...@nl...] Sent: Tuesday, October 19, 2010 9:48 PM To: Demian Katz Cc: vuf...@li... Subject: Re: [VuFind-Tech] No "use instead" links in alphabetic browse Argh! You're exactly right: I had a silly off-by-one in the browse indexing code that would cause it to skip the very first heading in the browse field (which was "Dublin Society, Royal") in this case. I haven't pushed anything back to SVN yet, but if you replace import/browse-indexing.jar with: http://www-test.nla.gov.au/~mtriggs/browse-indexing.jar and try again, I think that will fix it. Back to the original report, Eoghan: are you still not getting any "Use instead" entries at all? If that's still not working it's probably a separate issue (almost certainly my fault too ;) Do you see any errors when importing your authority data? As I said before, I just had to change the authority import properties to use the 001 to get your sample file loaded in... Sorry for the trouble! Mark Demian Katz <dem...@vi...> writes: > The problem is that there are two records -- one for "Dublin Society" > with a "see also," and one for "Dublin Society, Royal" with a "use > instead." We're seeing the "Dublin Society" but not "Dublin Society, > Royal." This would make sense if your theory about headings not found > in the index were correct... but then how do you explain this one? > > <lst> > <int name="count">0</int> > <arr name="useInstead"> > <str>Royal Dublin Society</str> > </arr> > <arr name="ids"/> > <arr name="seeAlso"/> > <str name="note"/> > > <str name="heading">RDS</str> > </lst> > > That's got a count of 0 and a "use instead" and it's showing up! > > Of course, I would argue that for "use instead" references, you do > want to show them if the heading is not in the index -- as long as the > "use instead" term is found. I think having "RDS" here is completely > appropriate... but where is "Dublin Society, Royal"? Mysterious! > > In any case, thanks for the detailed explanations, as always! -- Mark Triggs Systems Administrator Business Systems Support, The National Library of Australia <mt...@nl...> |