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
<[email protected]> 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
> [email protected]
> http://lists.koha.org/mailman/listinfo/koha-patches
>



-- 
Galen Charlton
[email protected]
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to