Re: Advanced search - Additional content types for books/printed materials

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Advanced search - Additional content types for books/printed materials

Selma Aslan-2
Hi Dimitris,

I am not sure if you have received a reply to your query below. So far as I know you need to define your item types under Administration =>Basic parameters=>Item types

Best

Selma
--------------------------------------------
On Tue, 5/12/17, Dimitris Antonakis <[hidden email]> wrote:

 Subject: [Koha] Advanced search - Additional content types for books/printed materials
 To: "[hidden email]" <[hidden email]>
 Date: Tuesday, 5 December, 2017, 11:54
 
 Hello, everyone!
 
 
 I have an issue regarding the advanced
 search “Additional content types for
 books/printed materials”. Whatever I
 choose, the message “No results
 found!” is presented, although the
 marc21 008 field - 24 - Nature of
 contents is filled according to the
 material described.
 
 
 Any thoughts on what the issue could
 be? I'd appreciate any input!
 
 
 Dimitris,
 
 
 
 
 
 Information about the server:
 
 Koha version:17.05.03.000
 
 OS version ('uname -a'):Linux linuxsrv
 3.16.0-4-686-pae #1 SMP Debian
 3.16.36-1+deb8u2 (2016-10-19) i686
 
 Perl interpreter:/usr/bin/perlPerl
 version:5.020002
 
 Perl @INC:
 
 /usr/share/koha/lib
 /etc/perl
 /usr/local/lib/i386-linux-gnu/perl/5.20.2
 /usr/local/share/perl/5.20.2
 /usr/lib/i386-linux-gnu/perl5/5.20
 /usr/share/perl5
 /usr/lib/i386-linux-gnu/perl/5.20
 /usr/share/perl/5.20
 /usr/local/lib/site_perl
 .
 MySQL version:mysql Ver 14.14 Distrib
 5.5.53, for debian-linux-gnu (i686)
 using readline 6.3
 
 Apache version:Server version:
 Apache/2.4.10 (Debian)
 
 Memcached:Servers: 127.0.0.1:11211 |
 Namespace: koha | Status: running. |
 Config read from: koha-conf.xml
 
 Zebra version:Zebra 2.0.62 (C)
 1994-2016, Index Data Zebra is free
 software, covered by the GNU General
 Public License, and you are welcome to
 change it and/or distribute copies of
 it under certain conditions. SHA1 ID:
 0ca4276b18b741acfd996d618cb46b13c01af5d5 Using
 ICU
 _______________________________________________
 Koha mailing list  http://koha-community.org
 [hidden email]
 https://lists.katipo.co.nz/mailman/listinfo/koha
 
_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
https://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: Advanced search - Additional content types for books/printed materials

Dimitris Antonakis
Hi Selma,

Thank you for your reply. I forgot to mention that our catalog is not a new
one. It's a production one that has been live since version 3.16. Therefore
it has item types defined etc.
87.203.234.185:8080
Unfortunately I don't remember in which version this operation broke or
what affects it.

On Tue, Dec 5, 2017 at 7:05 PM Selma Aslan <[hidden email]> wrote:

> Hi Dimitris,
>
> I am not sure if you have received a reply to your query below. So far as
> I know you need to define your item types under Administration =>Basic
> parameters=>Item types
>
> Best
>
> Selma
> --------------------------------------------
> On Tue, 5/12/17, Dimitris Antonakis <[hidden email]> wrote:
>
>  Subject: [Koha] Advanced search - Additional content types for
> books/printed   materials
>  To: "[hidden email]" <[hidden email]>
>  Date: Tuesday, 5 December, 2017, 11:54
>
>  Hello, everyone!
>
>
>  I have an issue regarding the advanced
>  search “Additional content types for
>  books/printed materials”. Whatever I
>  choose, the message “No results
>  found!” is presented, although the
>  marc21 008 field - 24 - Nature of
>  contents is filled according to the
>  material described.
>
>
>  Any thoughts on what the issue could
>  be? I'd appreciate any input!
>
>
>  Dimitris,
>
>
>
>
>
>  Information about the server:
>
>  Koha version:17.05.03.000
>
>  OS version ('uname -a'):Linux linuxsrv
>  3.16.0-4-686-pae #1 SMP Debian
>  3.16.36-1+deb8u2 (2016-10-19) i686
>
>  Perl interpreter:/usr/bin/perlPerl
>  version:5.020002
>
>  Perl @INC:
>
>  /usr/share/koha/lib
>  /etc/perl
>  /usr/local/lib/i386-linux-gnu/perl/5.20.2
>  /usr/local/share/perl/5.20.2
>  /usr/lib/i386-linux-gnu/perl5/5.20
>  /usr/share/perl5
>  /usr/lib/i386-linux-gnu/perl/5.20
>  /usr/share/perl/5.20
>  /usr/local/lib/site_perl
>  .
>  MySQL version:mysql Ver 14.14 Distrib
>  5.5.53, for debian-linux-gnu (i686)
>  using readline 6.3
>
>  Apache version:Server version:
>  Apache/2.4.10 (Debian)
>
>  Memcached:Servers: 127.0.0.1:11211 |
>  Namespace: koha | Status: running. |
>  Config read from: koha-conf.xml
>
>  Zebra version:Zebra 2.0.62 (C)
>  1994-2016, Index Data Zebra is free
>  software, covered by the GNU General
>  Public License, and you are welcome to
>  change it and/or distribute copies of
>  it under certain conditions. SHA1 ID:
>  0ca4276b18b741acfd996d618cb46b13c01af5d5 Using
>  ICU
>  _______________________________________________
>  Koha mailing list  http://koha-community.org
>  [hidden email]
>  https://lists.katipo.co.nz/mailman/listinfo/koha
>
>
_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
https://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: Advanced search - Additional content types for books/printed materials

Andreas Roussos
Hi Dimitris,

In your OPAC, if I choose 'Legal cases and case notes' in the Additional
content types for books/printed materials drop-down menu, I don't get any
results. From the "No results found!" page we can at least get the name
of the Zebra index that was queried ('ctype').

If you grep for "^melm 008" in your MARC21 record.abs file (normally at
/etc/koha/zebradb/marc_defs/marc21/biblios/record.abs) what do you get?

In my system, `grep "^melm 008" record.abs` yields this:
melm 008 [...] ctype:w:range(data,24,4) [...]
i.e. the 'ctype' index is built from characters 24-27 of the 008 field.

Oddly enough, if I choose "Bibliographies" as a content type in your
OPAC (i.e. ctype = 'b') I get one result (biblio 5080).

This makes sense because looking at the MARC view for that biblio:
http://87.203.234.185:8080/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=5080
we see that field 008 = 171123m20179999gr ||||| b    001 | gre d
So, character 25 (within the 24-27 character range) is indeed a 'b'.

However, you have at least 4 more biblios that should appear in the
results for that search:
5082: 171124s2017    gr ||||| b||| 001 | gre d
5085: 171128s2017    fr d||||o2||| 000 | fre d
5086: 171130s2017    gr ||||| b||| 001 | gre d
5087: 171201s2016    gr ||||| b||| 001 | gre d

Perhaps a full re-index is in order?
(koha-rebuild-zebra -f -a -b -v <instance>)

Kind regards,
Andreas

_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
https://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: Advanced search - Additional content types for books/printed materials

Dimitris Antonakis
Dear Andreas,

Thank you for your valuable input.
Thankfully it was easier to solve than expected. The default 008 values at
positions 24-27 - Nature of contents, was filled by a "| - Not attempt to
code". When I changed it to "# - No specified nature of contents"
everything worked like a charm.

Regards,
Dimitris


On Thu, Dec 7, 2017 at 11:11 AM Andreas Roussos <[hidden email]>
wrote:

> Hi Dimitris,
>
> In your OPAC, if I choose 'Legal cases and case notes' in the Additional
> content types for books/printed materials drop-down menu, I don't get any
> results. From the "No results found!" page we can at least get the name
> of the Zebra index that was queried ('ctype').
>
> If you grep for "^melm 008" in your MARC21 record.abs file (normally at
> /etc/koha/zebradb/marc_defs/marc21/biblios/record.abs) what do you get?
>
> In my system, `grep "^melm 008" record.abs` yields this:
> melm 008 [...] ctype:w:range(data,24,4) [...]
> i.e. the 'ctype' index is built from characters 24-27 of the 008 field.
>
> Oddly enough, if I choose "Bibliographies" as a content type in your
> OPAC (i.e. ctype = 'b') I get one result (biblio 5080).
>
> This makes sense because looking at the MARC view for that biblio:
>
> http://87.203.234.185:8080/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=5080
> we see that field 008 = 171123m20179999gr ||||| b    001 | gre d
> So, character 25 (within the 24-27 character range) is indeed a 'b'.
>
> However, you have at least 4 more biblios that should appear in the
> results for that search:
> 5082: 171124s2017    gr ||||| b||| 001 | gre d
> 5085: 171128s2017    fr d||||o2||| 000 | fre d
> 5086: 171130s2017    gr ||||| b||| 001 | gre d
> 5087: 171201s2016    gr ||||| b||| 001 | gre d
>
> Perhaps a full re-index is in order?
> (koha-rebuild-zebra -f -a -b -v <instance>)
>
> Kind regards,
> Andreas
> ​
>
_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
https://lists.katipo.co.nz/mailman/listinfo/koha