[Koha-devel] Intranet MARC search and 'suggestions'

Paul POULAIN paul.poulain at free.fr
Wed Oct 27 10:17:02 CEST 2004


Owen Leonard a écrit :

>>A borrower can enter a suggestion in OPAC (if suggestions 
>>are activated in parameters/systemprefs)
>>    
>>
>Actually, I was thinking about the suggestions link/button at 
>the bottom of this page:
>
>/cgi-bin/koha/search.marc/search.pl?type=intranet
>  
>
oups, sorry...
it's supposed to do something else...

If a user requests "ary poter" as title, and click on "suggestion", he 
will see values used in title that sounds like "ary" and "poter", with 
the number of times the value is used.
This uses the soundex feature.
For example, it will show :
Harry => 120 times
Ari => 10 times
Mari => 19 times
...

With those helps, the user can find the values he wants.

Works, but seems to be a little slow. Probably an index is missing... 
(and on your base, it may reach the timeout limit) i'll dig.

-- 
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)





More information about the Koha-devel mailing list