[Koha] Fwd: Re: File names

2012-04-18 Thread Lenora Oftedahl
Here is what we found while solving the difficulty of our search results not 
showing even though records were there.

From the tips  tricks: search info page 
(http://wiki.koha-community.org/wiki/Search_Info )  Didn't understand much of 
what was said here, but the last few words are a link to a different post.  
So, found the file names here (http://www.len.ro/work/koha-search-2/ ) and the 
IT person helping though to look at the actual files to see what was in them.  
I sent them to her to check to make sure permissions matched for running the 
files. We've had issues with permissions before. 

This is what she found:
*

Here is  /etc/koha/zebradb/marc_defs/marc21/biblios/record.abs 

Not sure why melm 090 is commented out. ??


# This is a fairly simple example of a set of MARC21 indexing rules. It
# results in a server which provides a passable Bath level 0 and 1 service
# (author, title, subject, keyword and exact services). Feel free to
# elaborate on it, and if you do, please consider sharing your additions.
# NOTE: This is designed to be used with the grs.marcxml input filter
# for ISO2709 (ANSI Z39.2) or grs.xml for MARCXML-formatted records. It
# won't work for the old grs.marc input filter, which yields a different
# internal structure.
encoding utf-8
name marc21
attset bib1.att
attset gils.att
esetname F @
esetname B @

marc usmarc.mar
systag sysno rank
xpath enable
# Some notes:
# pl = Published Place
# ta = Target Audience 002/22
# ff8-23
# lf = Literary Form 008/33
# bio = Biography 008/34
# fmt = Format
# ln = Language
# ctype = Content type: review, catalog, encyclopedia, dictionary
# pubdate Publication Date
# rtype =  Record type (leader 06)
#
# Date indexing in Koha 3.0 for MARC21:
# Index   Expected format Notes
# date-entered-on-file[yymmdd](008/0-5, indexed in word and sort 
indexes)
# copydate[]  (260$c, indexed in word and sort 
indexes)
# acqdate [-mm-dd](952$d, indexed in date,word,sort 
indexes)
# pubdate []  (008/7-10, indexed in 
year,word,num,sort indexes)

all any
# melm 000  rtype:n:range(data,06,1),Bib-level:w:range(data,07,01)
xelm /record/leader 
llength:w:range(data,0,5),rtype:w:range(data,6,1),Bib-level:w:range(data,7,1)
# example: xelm /record/leader l1:w:range(data,0,5),l2:w:range(data,10,2)

melm 001Control-number
melm 005Date/time-last-modified
melm 007
Microform-generation:n:range(data,11,1),Material-type,ff7-00:w:range(data,0,1),ff7-01:w:range(data,1,1),ff7-02:w:range(data,2,1),ff7-01-02:w:range(data,0,2)

melm 008
date-entered-on-file:n:range(data,0,5),date-entered-on-file:s:range(data,0,5),pubdate:w:range(data,7,4),pubdate:n:range(data,7,4),pubdate:y:range(data,7,4),pubdate:s:range(data,7,4),pl:w:range(data,15,3),ta:w:range(data,22,1),ff8-23:w:range(data,23,1),ff8-29:w:range(data,29,1),lf:w:range(data,33,1),bio:w:range(data,34,1),ln:n:range(data,35,3),ctype:w:range(data,24,4),Record-source:w:range(data,39,0)

melm 010LC-card-number,Identifier-standard
melm 011LC-card-number,Identifier-standard
melm 015
BNB-card-number,BGF-number,Number-db,Number-natl-biblio,Identifier-standard
melm 017Number-legal-deposit,Identifier-standard
melm 018Identifier-standard
melm 020$a  ISBN:w,Identifier-standard:w
melm 020Identifier-standard
melm 022$a  ISSN:w,Identifier-standard:w
melm 022Identifier-standard
melm 023Identifier-standard
melm 024$a  Identifier-other
melm 024Identifier-standard
melm 025Identifier-standard
melm 027Report-number,Identifier-standard
melm 028Number-music-publisher,Identifier-standard
melm 030CODEN,Identifier-standard
#melm 033   Date
melm 034Map-scale
#melm 035   Local-number,Identifier-standard
melm 037Identifier-standard,Stock-number
melm 040Code-institution,Record-source
melm 041$a  ln
melm 041$d  ln
melm 041$e  ln
melm 041$j  ln
melm 043Code-geographic
#melm 046   pubdate
melm 050$b  LC-call-number:w,LC-call-number:p,LC-call-number:s
melm 050LC-call-number:w,LC-call-number:p,LC-call-number:s
melm 052Geographic-class
melm 060NLM-call-number
melm 070NAL-call-number
melm 080UDC-classification
melm 082Dewey-classification:w,Dewey-classification:s
melm 086Number-govt-pub
#melm 942$k LC-card-number:s

## KOHA SPECIFIC
#melm 090$c Local-number:w
#Identifier-standard:w

{TRUNCATED}
**
So, we decided to uncomment the melm 090$c line.  Lo, and behold, our search is 
now functioning.  So, the question is, why is this line commented out on a 
fresh install?

Lenora
StreamNet Regional Librarian
Columbia River Inter-Tribal Fish Commission
___
Koha mailing list  

Re: [Koha] Fwd: Re: File names

2012-04-18 Thread Jared Camins-Esakov
Lenora,


Here is what we found while solving the difficulty of our search results
 not showing even though records were there.
 [snip]
 So, we decided to uncomment the melm 090$c line.  Lo, and behold, our
 search is now functioning.  So, the question is, why is this line commented
 out on a fresh install?


The reason the 090 line is commented out is that Koha doesn't use 090 for
biblionumbers anymore. 090 is generally used for local call numbers, which
are not suitable alternatives to biblionumbers (which Koha stores by
default in 999$c). Did you upgrade from 2.something?

Regards,
Jared

-- 
Jared Camins-Esakov
Bibliographer, C  P Bibliography Services, LLC
(phone) +1 (917) 727-3445
(e-mail) jcam...@cpbibliography.com
(web) http://www.cpbibliography.com/
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha