User manual

Advanced Topics
Match checks: Optionally 1 or more match checks can be created for each
matching rule. These checks compare a field in the incoming record to the
same or different field in the records in the database. Think of these as an
additional check to ensure records are correctly matched. For instance, if you
have a match point on Title, you might want a match check based on author.
Search index: This is the Zebra index that is used to match the records.
See section Determining search indexes below for more information.
Tag and Subfield: These refer to the MARC tag that the match point
is based on.
Offset: This refers to the number of characters of the match string that should
be ignored when matching, the offset applies from the left of the string.
Length: This refers to the number of characters of the match string that
should be considered for matching. Using Offset and Length, we can match
records based on certain parts of the values in MARC fields or subfields.
Normalization Rule: This field is not used in the processing, and it does
not matter what is entered here. Additional capabilities using different
normalization rules may be added in newer versions of Koha.
Determining search indexes
We determine the search index by looking at two Zebra's configuration files- ccl
.
properties and
records .abs.
If an index is present in both files, it can be used in
matching rules.
Let us say we wanted to update our bibliographic records after a cleanup, we could
create a matching rule based on Koha's
biblionumber
database field. This is a
unique number assigned to each bibliographic record and is stored in tag 999$c in
the MARC record.
Let us take a look at Zebra's
record. abs
file in the folder
/etc /koha -dev /etc/
zebradb /marc defs /marc2l /biblios /:
linux- 4yut: /usr /share /kohaclone /misc /migration_ tools # vi /etc /koha -dev/
etc /zebradb /marc defs /marc2l /biblios /record. abs
If we run a search on tag 999$c, we find that the search index for this tag is
Local -
Number:
# Koha Local -Use Biblio Indexes
melm 999$c
Local- Number: n,Local- Number:w,Local- Numbers
[ 248 ]