[Koha] Koha reindex with Zebra doesn't work

Alex87 aletede87 at gmail.com
Mon Apr 16 21:04:21 NZST 2012


Frédéric, thank you for you support.

If i reubild i get this:

/usr/share/koha/bin/migration_tools/rebuild_zebra.pl -r -b -x -k -d
10:31:35-16/04 zebraidx(9868) [warn] Record didn't contain match fields in
(bib1,Local-number)
NOTHING cleaned : the export /tmp/vV2omyxDRq has been kept.
You can re-run this script with the -s  and -d /tmp/vV2omyxDRq parameters
if you just want to rebuild zebra after changing the record.abs
or another zebra config file
 
Then i go to /tmp/TzhgjKzlXF/biblio/exported_records


/<?xml version="1.0" encoding="UTF-8"?>
<record
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.loc.gov/MARC21/slim
http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"
    xmlns="http://www.loc.gov/MARC21/slim">

  <leader>     1111122     1114500</leader>
  <controlfield tag="001">16</controlfield>
  <controlfield tag="001">16</controlfield>
  <datafield tag="090" ind1=" " ind2=" ">
    <subfield code="a">16</subfield>
  </datafield>
  <datafield tag="100" ind1=" " ind2=" ">
    <subfield code="a">20120416              frey50       </subfield>
  </datafield>
  <datafield tag="200" ind1=" " ind2=" ">
    <subfield code="5">Institute</subfield>
    <subfield code="a">Institute</subfield>
    <subfield code="e">Institute</subfield>
  </datafield>
  <datafield tag="210" ind1=" " ind2=" ">
    <subfield code="b">Institute</subfield>
  </datafield>
  <datafield tag="500" ind1=" " ind2=" ">
    <subfield code="a">Title</subfield>
  </datafield>
  <datafield tag="517" ind1=" " ind2=" ">
    <subfield code="e">Title</subfield>
  </datafield>
  <datafield tag="606" ind1=" " ind2=" ">
    <subfield code="a">Subject</subfield>
  </datafield>
  <datafield tag="610" ind1=" " ind2=" ">
    <subfield code="a">Subject</subfield>
  </datafield>
  <datafield tag="942" ind1=" " ind2=" ">
    <subfield code="c">BK</subfield>
  </datafield>
</record>/


My record.abs is set as follow:

/all any
melm 001        Local-number,Local-number:n
# Local-number (biblionumber can be either in 090$9 or, on some setup, on
001)
melm 009      Identifier-standard:w,Identifier-standard:n
melm 090$9      Local-number,Local-number:n
melm 099$c     
date-entered-on-file:s,date-entered-on-file:n,date-entered-on-file:y,Date-of-acquisition,Date-of-acquisition:d,Date-of-acquisition:s
melm 099$d     
Date/time-last-modified:s,Date/time-last-modified:n,Date/time-last-modified:y
melm 099$t      ccode:w/

Is it correct?
Thanks


--
View this message in context: http://koha.1045719.n5.nabble.com/Koha-reindex-with-Zebra-doesn-t-work-tp5642993p5643305.html
Sent from the Koha-general mailing list archive at Nabble.com.


More information about the Koha mailing list