Stefano Bargioni schreef op do 26-03-2015 om 09:15 [+0100]:
> > I wrote a Node.js module for handling MARC data while trying to
> learn MARC and Node.js. I borrowed a lot of ideas from marc4j,
> ruby-marc and pymarc.The module is open-source and hosted on github.
> If you are interested please check it out at
> https://github.com/jiaola/marc4js. It’s still at its early stage but
> I’d like to share it with the community and hopefully someone will
> find it useful. Feel free to submit a bug report, feature request or
> join the effort to make it better.

In the case of ES, pretty much all of the coding is still Perl, so we
can use MARC::Record and friends to deal with MARC. Catmandu has a very
simple way of storing MARC in JSON that I'm using to put records in ES,
which is very easy to convert:

http://git.catalyst.net.nz/gw?p=koha.git;a=blob;f=Koha/SearchEngine/Elasticsearch/Search.pm;h=549eb0468df6f601d0130d78a9e1230f6aafd89b;hb=refs/heads/elastic_search#l258

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5FA7 4B49 1E4D CAA4 4C38  8505 77F5 B724 F871 3BDF

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to