[Koha-patches] [PATCH] (bug #4062) add item index in zebra conf

Galen Charlton gmcharlt at gmail.com
Tue Jan 26 23:02:40 CET 2010


Hi,

How would such an index get populated?  What item record field(s)
would it contain?  I'm not seeing anything in record.abs that would
map any bib fields or subfields to a Zebra index.

Regards,

Galen

On Tue, Jan 26, 2010 at 11:31 AM, Nahuel ANGELINETTI
<nahuel.angelinetti at biblibre.com> wrote:
> This add the "item" index.
> ---
>  C4/Search.pm                     |    1 +
>  etc/zebradb/biblios/etc/bib1.att |    1 +
>  etc/zebradb/ccl.properties       |    4 ++++
>  3 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/C4/Search.pm b/C4/Search.pm
> index f5f87fe..39a111f 100644
> --- a/C4/Search.pm
> +++ b/C4/Search.pm
> @@ -938,6 +938,7 @@ sub getIndexes{
>                     'holdingbranch',
>                     'homebranch',
>                     'issues',
> +                    'item',
>                     'itemnumber',
>                     'itype',
>                     'Local-classification',
> diff --git a/etc/zebradb/biblios/etc/bib1.att b/etc/zebradb/biblios/etc/bib1.att
> index 0f24b0d..dc9f6de 100644
> --- a/etc/zebradb/biblios/etc/bib1.att
> +++ b/etc/zebradb/biblios/etc/bib1.att
> @@ -186,3 +186,4 @@ att 9900    Author-personal-bibliography
>  att 9902    Author-in-order
>  # Lexile number
>  att 9903    lex
> +att 9520    Item
> diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties
> index ea0733a..f4cb267 100644
> --- a/etc/zebradb/ccl.properties
> +++ b/etc/zebradb/ccl.properties
> @@ -1131,3 +1131,7 @@ DateAdded            exp1,1=9
>  DateChanged          exp1,1=10
>  DateExpires          exp1,1=11
>  ElementSetName       exp1,1=12
> +
> +Item 1=9520
> +item Item
> +
> --
> 1.6.3.3
>
> _______________________________________________
> Koha-patches mailing list
> Koha-patches at lists.koha.org
> http://lists.koha.org/mailman/listinfo/koha-patches
>



-- 
Galen Charlton
gmcharlt at gmail.com



More information about the Koha-patches mailing list