[greenstone-users] Queryterms function

From Pier Luigi ROSSI
DateWed Mar 9 04:21:48 2011
Subject [greenstone-users] Queryterms function
Dear greenstone list,

I use queryterms function to search inside pdf files
the terms used in greenstone form.

In the form we use many indexes.
(http://www.beep.ird.fr/cgi-bin/library.cgi?e=p-01000-00---off-0eismv2--00-1----0-10-0---0---0direct-10---4-------0-1l--11-fr-50---20-about---01-2-1-00-0-0-11-1-0utfZz-8-00&a=q)

I suppose a little "bug" in the function :
if we put only a word in the first box, queryterms is "S□n□gal "
if we put only a word in the others box, queryterms is " S□n□gal "
for 2 terms in 2 box, queryterms is "S□n□gal z□bu "
....
Acrobat reader, don't like spaces around search terms
and the results in search function for pdf isn't so good
(2 documents found for the same document, " found like test, ....)

Could you "trim" queryterms chain ?

Best regards

PL Rossi


--
Pier Luigi ROSSI
IRD
32, avenue Henri Varagnat
93140 Bondy
France

Tel : 33 (0)1 48 02 56 96
Fax : 33 (0)1 48 47 30 88