[greenstone-users] preferences accents

From Diego Spano
DateWed Jan 23 02:52:33 2008
Subject [greenstone-users] preferences accents
In-Reply-To (29439-52819-qm-web27702-mail-ukl-yahoo-com)
Hi Diego,

you can do this by editing main.cfg and adding the following lines:

#set a default value for Case. ignore case =1 and match case = 0*
cgiarg shortname=k argdefault=1

#set a default value for Word endings. ignore word endings =1 and word
endings must match = 0
cgiarg shortname=s argdefault=1

#set a default value for Accents folding. ignore =1 and match = 0
cgiarg shortname=af argdefault=1

You should also change the way you build your collections. If you are using
mgpp engine, try adding this to your collect.cfg:

indexoptions accentfold casefold stem

Then, you will be able to write "gestion" and GS will retrieve "gestion",
"Gestion", "gesti□n", etc.

Hope these helps.

Diego J. Spano
Direcci□n General de Gesti□n Inform□tica
Ministerio de Justicia, Seg. y DD. HH.
Tel.: 4328.3015 (int.1404)
4322.6122 (directo)
Argentina

_____

De: greenstone-users-bounces@list.scms.waikato.ac.nz
[mailto:greenstone-users-bounces@list.scms.waikato.ac.nz] En nombre de Diego
Manquillo
Enviado el: Lunes, 21 de Enero de 2008 10:42 p.m.
Para: greenstone
Asunto: [greenstone-users] preferences accents


Hi everybody

I'm working with greenstone in spanish and i wanna know if it's
possible to configure Greenstone so that "ignore accents" is selected by
default, without forcing the visitor to go to his preferences screen to set
this option?

Thank you so much

_____


Web Revelaci□n Yahoo! 2007:
Premio Favorita del P□blico - □Vota tu
<http://es.promotions.yahoo.com/revelacion2007/favoritos/> preferida!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20080122/c965fff9/attachment.html