[Koha-devel] Search Engine Changes : let's get some solr

Frédéric Demians frederic at tamil.fr
Sun Nov 14 21:07:21 CET 2010


>> So, the ISO2709 character limit is not actually an issue at all, then.
> Well, actually, it is in koha.
> Since Koha gets iso2709 from a zebra search.
> If it Koha would take marcxml, it would be even slower to get search
> results with the Search.pm as it stands now... And let me know if you
> know a librarian who would like that.

MARCXML parsing is slow because MARC::File::XML uses a SAX parser to do 
the job and do some 'magic' encoding-decoding to-from MARC8--Galen could 
correct me if I'm wrong. But since records stored into Koha are cleanly 
UTF-8 encoded, are well formed XML and respect a minimalist schema, we 
could parse them much more quickly directly in Perl. I've done some 
experimentation. It works easily. This code could be ported in five minutes:

    http://tinyurl.com/3x3d6b9

--
Frédéric



-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20101114/60a8f8d2/attachment.htm>


More information about the Koha-devel mailing list