[Koha-bugs] [Bug 7818] support DOM mode for Zebra indexing of bibliographic records
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 7 15:28:05 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7818
--- Comment #34 from Paul Poulain <paul.poulain at biblibre.com> ---
Trying to search, I get no results, but a nasty
Can't call method "data" on an undefined value at
/home/paul/koha.dev/koha-community/C4/Search.pm line 1496.
Adding a warning in the code, I see:
DUMP$VAR1 = bless( {
'_fields' => [],
'_leader' => ' ',
'_warnings' => [
'Record length "" is not numeric in record
1'
]
}, 'MARC::Record' );
Adding the following lines that are missing in the koha-conf.xml:
<!-- <maximumrecordsize>2000000</maximumrecordsize> -->
<xi:include
href="/home/paul/koha.dev/installs/lecannetdesmaures/etc/zebradb/retrieval-info-bib-dom.xml"
xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:fallback>
<retrievalinfo>
and
</xi:fallback>
</xi:include>
after the </retrievalinfo>
The result is the same:
zebra log file says:
12:27:16-07/06 zebrasrv(1) [session] Session - OK 1
unix:/home/paul/koha.dev/installs/lecannetdesmaures/var/run/zebradb/bibliosocket
19584
12:27:16-07/06 zebrasrv(1) [request] Auth idPass kohauser -
12:27:16-07/06 zebrasrv(1) [request] Init OK - ID:81 Name:ZOOM-C/YAZ
Version:4.2.18 cc3abee6f861d0166bef5333b1fc72fbdc8bd94c
12:27:16-07/06 zebrasrv(1) [warn] Missing attribute 'type' in attribute info
12:27:16-07/06 zebrasrv(1) [warn] Missing attribute 'type' in attribute info
12:27:16-07/06 zebrasrv(1) [warn] Missing attribute 'type' in attribute info
12:27:16-07/06 zebrasrv(1) [warn] Missing attribute 'type' in attribute info
12:27:16-07/06 zebrasrv(1) [warn] Missing attribute 'type' in attribute info
12:27:16-07/06 zebrasrv(1) [warn] Missing attribute 'type' in attribute info
12:27:16-07/06 zebrasrv(1) [log] dict_lookup_grep:
(\x01\x02)(j(e|\xC3\xA9|\xC3\xA8|\xC3\xAA|\xE1\xBA\xBD|\xC4\x95|\xC4\x99|\xC4\x97|\xC4\x9B|\xC8\x85|\xC8\x87)(a|\xC3\xA1|\xC3\xA0|\xC3\xA3|\xC3\xA5|\xC3\xA2|\xC4\x83|\xC4\x85|\xC8\xA7|\xC7\x8E|\xC8\x81|\xC8\x83)n)
12:27:16-07/06 zebrasrv(1) [request] Search biblios OK 1 1 1+0 RPN @attrset
Bib-1 @attr 1=1016 @attr 4=6 jean
12:27:16-07/06 zebrasrv(1) [log]
/home/paul/koha.dev/koha-community/etc/zebradb/biblios/etc/dom-config.xml dom
filter: loading config file
/home/paul/koha.dev/koha-community/etc/zebradb/biblios/etc/dom-config.xml
12:27:16-07/06 zebrasrv(1) [request] Present OK - 1 1+1
12:27:16-07/06 zebrasrv(1) [session] Connection closed by client
Checking what zebrasrv says when you launch it, I see:
I/O warning : failed to load external entity
"/home/paul/koha.dev/installs/lecannetdesmaures/etc/zebradb/retrieval-info-bib-dom.xml"
the file is not here, copying it at the right place (from $KOHA/etc/zebradb/)
it works !
will summarize all my tests in a wiki page: "switching to DOM indexing when you
have Koha already running" !
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list