Re: [greenstone-users] Search for _ZZ_ that contain [some] of the words[]

From Katherine Don
DateTue, 14 Nov 2006 17:16:03 +1300
Subject Re: [greenstone-users] Search for _ZZ_ that contain [some] of the words[]
In-Reply-To (595b9ab20611092120r50c0bf5co3c6022ee0b0eae3-mail-gmail-com)
Hi Stephen

It appears that this is a bug when there is only one index specified. If
you have more than one, then you get a drop down list, and the text is
correct.

I will look into this.
In the meantime, you should change your indexes. allfields is a combined
index all **specified** indexes, not all metadata fields in the collection.
so if you have
indexes allfields
you haven't actually indexed anything, you just have combined searching
over no fields.

If you want all your metadata to be indexed, use the "Add All" button in
GLI New index popup.

Regards,
Katherine

Stephen De Gabrielle wrote:
> Hi,
>
> I get "Search for _ZZ_ that contain of the words " with '_ZZ_'
> instead of my specified text for .allfields.
>
> I set it to be 'allfields' using collection meta (via the GLI), but it
> doesn't seem to take.
> -- collectionmeta .allfields [l=en] "allfields"
>
> The relevant bits of collect.cfg are below - It seems ok to me.
>
> Any ideas?
>
> Regards,
>
> Stephen
>
>
> --snip of collect.cfg as created by GLI--
> buildtype mgpp
>
> #indexes document:text document:Title document:Source
> indexes allfields
> defaultindex allfields
>
> levels document
>
> indexoptions accentfold casefold stem
>
> defaultlevel document
>
> defaultlevel
>
> defaultlevel
>
> defaultlevel
>
> defaultlevel
>
> defaultlevel
> [...]
> collectionmeta .allfields [l=en] "allfields"
> collectionmeta .document [l=en] "all fields"
> [...]
>