[OPEN-ILS-GENERAL] Z39.50 server indexes?

Linda Jansova skolkova at chello.cz
Wed Feb 24 01:50:38 EST 2016


Hi,

We have still haven't sorted out our Z39.50 server encoding issues but 
hopefully have made some steps which may help us locate and solve the 
problem. (We currently work with Evergreen 2.8.3.)

Problem summary:

When querying our Z39.50 server (mojzis.jabok.cuni.cz:9999/Jabok) via 
yaz, query find matoušek works okay, so does query find @attr 1=1016 
Matousek. But with find @attr 1=1016 Matoušek zero number of hits is 
returned.

When searching directly via SRU (in our case 
http://mojzis.jabok.cuni.cz/opac/extras/sru) all queries (with the 
exception of find dc.creator=matoušek) seem to work okay, e.g. find 
eg.author=matoušek reports 32 hits.

A more detailed view:

We have been digging into this for quite some time now (our previous 
posts are available at 
https://www.mail-archive.com/open-ils-general@list.georgialibraries.org/msg11117.html 
andhttps://www.mail-archive.com/open-ils-general%40list.georgialibraries.org/msg11442.html). 


We have also tried to get in touch with the yaz community 
(http://lists.indexdata.dk/pipermail/yazlist/2016-February/004159.html). 
They have advised us to have a look at the indexes.

We have had a look at the config.z3950_index_field_map. It looks like 
this in our installation:

id | label | metabib_field | record_attr | z3950_attr | z3950_attr_type

----+-----------+---------------+-------------+------------+-----------------

1 | Title | 5 | | | title

2 | Author | 8 | | | author

3 | ISBN | 18 | | | isbn

4 | ISSN | 19 | | | issn

5 | LCCN | 30 | | | lccn

6 | Pubdate | | pubdate | | pubdate

7 | Item Type | | item_type | | item_type

(7 rows)

But we are not sure whether it is a configuration related to Evergreen 
Z39.50 server or to Evergreen Z39.50 client. If it is a server 
configuration, is everything included or are some data missing?

Our current dgo.conf looks like this:

<client>

<database name="Jabok">

<zurl>http://mojzis.jabok.cuni.cz/opac/extras/sru</zurl>

<option name="sru">get</option>

<charset>utf-8</charset>

<search>

<querytype>cql</querytype>

<map use="4"><index>eg.title</index></map>

<map use="7"><index>eg.keyword</index></map>

<map use="8"><index>eg.keyword</index></map>

<map use="21"><index>eg.subject</index></map>

<map use="1003"><index>eg.author</index></map>

<map use="1018"><index>eg.publisher</index></map>

<map use="1035"><index>eg.keyword</index></map>

<map use="1016"><index>eg.keyword</index></map>

</search>

</database>

</client>

But where are the indexes actually defined? Is it in the 
config.metabib_field table?
(Our current config.metabib_field table is attached to this message.)

Any hints that could help us have our Z39.50 server work as expected are 
more than welcome!

Thank you in advance!

Linda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20160224/fd119eb5/attachment.html>
-------------- next part --------------
 id | field_class |     name     |            label            |                                               xpath                                                | weight | format  | search_field | facet_field |         facet_xpath          | browse_field |         browse_xpath         | restrict | authority_xpath |      browse_sort_xpath       | joiner 
----+-------------+--------------+-----------------------------+----------------------------------------------------------------------------------------------------+--------+---------+--------------+-------------+------------------------------+--------------+------------------------------+----------+-----------------+------------------------------+--------
 16 | subject     | complete     | All Subjects                | //mods32:mods/mods32:subject                                                                       |      1 | mods32  | t            | f           |                              | f            |                              | f        |                 |                              | 
 17 | identifier  | accession    | Accession Number            | //marc:controlfield[@tag='001']                                                                    |      1 | marcxml | t            | f           |                              | f            |                              | f        |                 |                              | 
 18 | identifier  | isbn         | ISBN                        | //marc:datafield[@tag='020']/marc:subfield[@code='a' or @code='z']                                 |      1 | marcxml | t            | f           |                              | f            |                              | f        |                 |                              | 
 19 | identifier  | issn         | ISSN                        | //marc:datafield[@tag='022']/marc:subfield[@code='a' or @code='z']                                 |      1 | marcxml | t            | f           |                              | f            |                              | f        |                 |                              | 
 26 | identifier  | tcn          | Title Control Number        | //marc:datafield[@tag='901']/marc:subfield[@code='a']                                              |      1 | marcxml | t            | f           |                              | f            |                              | f        |                 |                              | 
 27 | identifier  | bibid        | Internal ID                 | //marc:datafield[@tag='901']/marc:subfield[@code='c']                                              |      1 | marcxml | t            | f           |                              | f            |                              | f        |                 |                              | 
 29 | identifier  | scn          | System Control Number       | //marc:datafield[@tag='035']/marc:subfield[@code="a"]                                              |      1 | marcxml | t            | f           |                              | f            |                              | f        |                 |                              | 
 30 | identifier  | lccn         | LC Control Number           | //marc:datafield[@tag='010']/marc:subfield[@code="a" or @code='z']                                 |      1 | marcxml | t            | f           |                              | f            |                              | f        |                 |                              | 
 25 | identifier  | bibcn        | Local Free-Text Call Number | //marc:datafield[@tag='099']                                                                       |      1 | marcxml | t            | f           |                              | f            |                              | f        |                 |                              | 
 20 | identifier  | upc          | UPC                         | //marc:datafield[@tag='024' and @ind1='1']/marc:subfield[@code='a' or @code='z']                   |      1 | marcxml | t            | f           |                              | f            |                              | f        |                 |                              | 
 21 | identifier  | ismn         | ISMN                        | //marc:datafield[@tag='024' and @ind1='2']/marc:subfield[@code='a' or @code='z']                   |      1 | marcxml | t            | f           |                              | f            |                              | f        |                 |                              | 
 22 | identifier  | ean          | EAN                         | //marc:datafield[@tag='024' and @ind1='3']/marc:subfield[@code='a' or @code='z']                   |      1 | marcxml | t            | f           |                              | f            |                              | f        |                 |                              | 
 23 | identifier  | isrc         | ISRC                        | //marc:datafield[@tag='024' and @ind1='0']/marc:subfield[@code='a' or @code='z']                   |      1 | marcxml | t            | f           |                              | f            |                              | f        |                 |                              | 
 24 | identifier  | sici         | SICI                        | //marc:datafield[@tag='024' and @ind1='4']/marc:subfield[@code='a' or @code='z']                   |      1 | marcxml | t            | f           |                              | f            |                              | f        |                 |                              | 
 28 | identifier  | authority_id | Authority Record ID         | //marc:datafield/marc:subfield[@code="0"]                                                          |      1 | marcxml | f            | t           |                              | f            |                              | f        |                 |                              | 
  2 | title       | abbreviated  | Abbreviated Title           | //mods32:mods/mods32:titleInfo[mods32:title and (@type='abbreviated')]                             |      1 | mods32  | t            | f           |                              | t            |                              | f        | //@xlink:href   |                              | 
  3 | title       | translated   | Translated Title            | //mods32:mods/mods32:titleInfo[mods32:title and (@type='translated-nfi')]                          |      1 | mods32  | t            | f           |                              | t            |                              | f        | //@xlink:href   | *[local-name() != "nonSort"] | 
  9 | author      | conference   | Conference Author           | //mods32:mods/mods32:name[@type='conference' and mods32:role/mods32:roleTerm[text()='creator']]    |      1 | mods32  | t            | t           | //*[local-name()='namePart'] | t            | //*[local-name()='namePart'] | f        | //@xlink:href   |                              | 
 13 | subject     | temporal     | Temporal Subject            | //mods32:mods/mods32:subject/mods32:temporal                                                       |      1 | mods32  | t            | f           |                              | t            |                              | f        | //@xlink:href   |                              |  -- 
  4 | title       | alternative  | Alternate Title             | //mods32:mods/mods32:titleInfo[mods32:title and starts-with(@type,'alternative')]                  |      1 | mods32  | t            | f           |                              | t            |                              | f        | //@xlink:href   | *[local-name() != "nonSort"] | 
  6 | title       | proper       | Title Proper                | //mods32:mods/mods32:titleInfo[mods32:title and not (@type)]                                       |      1 | mods32  | t            | f           |                              | f            |                              | f        | //@xlink:href   |                              | 
 31 | title       | browse       | Title Proper (Browse)       | //mods32:mods/mods32:titleBrowse                                                                   |      1 | mods32  | f            | f           |                              | t            |                              | f        | //@xlink:href   | *[local-name() != "nonSort"] | 
  8 | author      | personal     | Autor                       | //mods32:mods/mods32:name[@type='personal' and mods32:role/mods32:roleTerm[text()='creator']]      |      1 | mods32  | t            | t           | //*[local-name()='namePart'] | t            | //*[local-name()='namePart'] | f        | //@xlink:href   |                              | 
  7 | author      | corporate    | Autor (korporace)           | //mods32:mods/mods32:name[@type='corporate' and mods32:role/mods32:roleTerm[text()='creator']]     |      1 | mods32  | t            | f           | //*[local-name()='namePart'] | t            | //*[local-name()='namePart'] | f        | //@xlink:href   |                              | 
 10 | author      | other        | Vedlejší autor              | //mods32:mods/mods32:name[@type='personal' and not(mods32:role/mods32:roleTerm[text()='creator'])] |      1 | mods32  | t            | t           | //*[local-name()='namePart'] | t            | //*[local-name()='namePart'] | f        | //@xlink:href   |                              | 
 14 | subject     | topic        | Věcné téma                  | //mods32:mods/mods32:subject/mods32:topic                                                          |      1 | mods32  | t            | t           |                              | t            |                              | f        | //@xlink:href   |                              |  -- 
 32 | series      | browse       | Názvy edice (prohlížení)    | //mods32:mods/mods32:relatedItem[@type="series"]/mods32:titleInfo[@type="nfi"]                     |      1 | mods32  | f            | f           |                              | t            |                              | f        | //@xlink:href   | *[local-name() != "nonSort"] | 
  1 | series      | seriestitle  | Název edice                 | //mods32:mods/mods32:relatedItem[@type="series"]/mods32:titleInfo[not(@type="nfi")]                |      1 | mods32  | t            | t           |                              | f            |                              | f        | //@xlink:href   |                              | 
 12 | subject     | name         | Jméno jako téma             | //mods32:mods/mods32:subject/mods32:name                                                           |      1 | mods32  | t            | t           | //*[local-name()='namePart'] | t            |                              | f        | //@xlink:href   |                              | 
 11 | subject     | geographic   | Geografický název           | //mods32:mods/mods32:subject/mods32:geographic                                                     |      1 | mods32  | t            | t           |                              | t            |                              | f        | //@xlink:href   |                              |  -- 
  5 | title       | uniform      | Unifikovaný název           | //mods32:mods/mods32:titleInfo[mods32:title and (@type='uniform-nfi')]                             |      1 | mods32  | t            | f           |                              | t            |                              | f        | //@xlink:href   | *[local-name() != "nonSort"] | 
 15 | keyword     | keyword      | Klíčová slova               | //mods32:mods/*[not(local-name()='originInfo')]                                                    |      1 | mods32  | t            | f           |                              | f            |                              | f        |                 |                              | 
(32 rows)



More information about the Open-ils-general mailing list