]> git.koha-community.org Git - koha.git/commit
Updates to date indexing and search processing
authorJoshua Ferraro <jmf@liblime.com>
Mon, 17 Dec 2007 17:54:54 +0000 (11:54 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 17 Dec 2007 18:00:30 +0000 (12:00 -0600)
commitfcc3986cfdf716533af335808403ff7a5aa0a370
treef7322b8679a963a4510233abe871533e4fb43b9d
parentbbe759bde6f9e5bd9567e63a9cb021e9def1a8ec
Updates to date indexing and search processing

Summary of Koha 3.0 date indexing for MARC21:

Index                   Expected format         Notes
-----------------------------------------------------
date-entered-on-file    [yymmdd]                (008/0-5, indexed in word and sort indexes)
copydate                [yyyy]                  (260$c, indexed in word and sort indexes)
acqdate                 [yyyy-mm-dd]            (952$d, indexed in date,word,sort indexes)
pubdate                 [yyyy]                  (008/7-10, indexed in year,word,sort indexes)

Template Search Parameters Tested:
        limit-yr (either yyyy or yyyy-yyyy) (added processing for ge le, structure attribute st-numeric, etc.)
        yr pubdate (yyyy)
        acqdate,st-date-normalized (yyyy-mm-dd)

Template Sort Parameters Tested:
        pubdate_dsc
        pubdate_asc
        acqdate_dsc
        acqdate_asc

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Search.pm
catalogue/search.pl
etc/zebradb/biblios/etc/bib1.att
etc/zebradb/biblios/etc/record.abs
etc/zebradb/ccl.properties
koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc
koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tmpl
koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tmpl
opac/opac-search.pl