Re: [greenstone-users] Fold and Stem

From xiao
DateSat, 30 Jun 2007 14:40:32 +1200
Subject Re: [greenstone-users] Fold and Stem
In-Reply-To (20070628T131442Z-D309000B0000-nelligan-ca)
Hello Devon,

If I have understood what you are after correctly, you are talking about the words on the GLI interface. These words are stored in the files in the $GSDLHOME/gli/classes directory. If you are using the GLI with the English interface language, the file you should look at is dictionary_en.properties. Some other languages are also available. To change the word 'fold', for example, locate the line:

CDM.IndexingManager.Casefold:Casefold

and change the trailing word Casefold to the one you desire.

To change the fold and stem options for existing collections, you will have to either tick them in GLI, or go to the collect.cfg file of a particular collection and add the following line into the file

indexoptions    casefold stem

If you want hereafter newly-built collections to all have the casefold and stem options on, you can put the above line in the file $GSDLHOME/collect/modelcol/etc/collect.cfg. This file is the base for all new collections' configuration files.


Regards
xiao

On 6/29/07, Devon Cinnamon <Devon.Cinnamon@nelligan.ca> wrote:
Hi, I would like to use the advanced search in Greenstone version 2.71 but would like to change the words fold and stem on the search page but I am not sure where these entries come from.  I looked at the source code on the internet browser but that doesn't tell me what the filename is where the code is being stored.
 
I would also like to have fold and stem on permanently with the checkmarks but am unable to figure that out either.
 
Please help
 
Thank you
 
 
-------------------------------------------------
Devon Cinnamon
Systems Support Technician
Nelligan O'Brien Payne LLP
Suite 1900, 66 Slater
Ottawa, Ontario K1P 5H1
Tel: (613) 231-8250
Fax: (613) 788-3669
 

--
Greenstone Digital Library
New Zealand