Re: Documents at INTERNAL levels in hierarchy?

From sjboddie
DateFri, 22 Feb 2002 09:30:50 +1300
Subject Re: Documents at INTERNAL levels in hierarchy?
In-Reply-To (200202220151-CAA18966-geri-narc-com)
Hi,

This sounds very much like a bug I just fixed the other day. You can fix
it by downloading a new Hierarchy.pm file from
http://greenstone.org/tmp/Hierarchy.pm and saving it to your
gsdl/perllib/classify directory (replacing the one that's already
there).

Please let me know if this doesn't fix the problem.

regards,
Stefan.

nlin@nlin.net wrote:
>
> > Hi,
> > It's definitely possible to have documents at higher levels
> > as well as deeper levels at the same time, so I'm not quite sure
> > what is wrong here. It could possibly be a problem with your
> > index file or the just formatting - have you modified the format string
> > for that classifier? It could also be a bug - which
> > version and platform are you using?
>
> I'm using 2.3.7 on Linux with the IndexPlug (can't get RecPlug with
> the -use_metadata_files to work, yet).
>
> My index.txt file is:
>
> key: Sec Author Title Summary
> test.txt 1.1 "Author1" "Doc1" "This is summary 1"
> test2.txt 1.1.1 "nobody aasdf" "Doc2" "This is summary 2"
>
> etc/hfile.txt (the hierarchy classifier file) is:
>
> 1 1 "ch1"
> 1.1 1.1 "mid"
> 1.1.1 1.1.1 "bot"
> 2 2 "ch2"
>
> etc/collect.cfg is:
>
> creator no@where
> maintainer no@where
> public true
>
> indexes document:text document:Title document:Source
> defaultindex document:text
>
> plugin ZIPPlug
> plugin GAPlug
> plugin TEXTPlug
> plugin HTMLPlug
> plugin EMAILPlug
> plugin PDFPlug
> plugin RTFPlug
> plugin WordPlug
> plugin ArcPlug
> plugin IndexPlug
>
> classify Hierarchy -hfile hfile.txt -metadata Sec
>
> collectionmeta collectionname "metatest"
> collectionmeta iconcollection ""
> collectionmeta collectionextra "\nrigid body dynamics_collectorextra_"
> collectionmeta .document:text "text"
> collectionmeta .document:Source "filenames"
>
> This behaves exactly as I said: I get
>
> ch1
> mid
> Doc1
> *** WHERE IS SECTION "BOT" ???? ***
>
> Ideas?
>
> -Norman