[Koha-bugs] [Bug 2560] Advanced search on Language (from pulldown) does not work

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Wed Mar 18 21:10:08 CET 2009


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2560





------- Comment #4 from joe.atzberger at liblime.com  2009-03-18 13:10 -------
Manual search via yaz-client looks like:

Z> find @attr 1=54 spa
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 1186, setno 5
SearchResult-1: term=spa cnt=1186
records returned: 0
Elapsed: 0.018047
Z> show 1
Sent presentRequest (1+1).
Records: 1
[biblios]Record type: USmarc
01121pam a2200349 a 4500
001 10777933
008 840502s1984    nyu           000 0 eng  
010    $a 84009856
020    $a 0811209032
020    $a 0811208990 (pbk.)
040    $a DLC $c DLC $d GZC
041 1  $a eng $h spa
049    $a GZCC
050 0  $a PQ7297.P285 $b A29 1984
082 0  $a 861 $2 19
090    $a PQ 7297 P285 A29
100 1  $a Paz, Octavio, $d 1914-
240 10 $a Poems. $k Selections. $l English
245 10 $a Selected poems / $c Octavio Paz ; edited by Eliot Weinberger ;
translations from the Spanish by G. Aroul ... [et al.].
260    $a New York : $b New Directions, $c 1984.
300    $a xii, 147 p. ; $c 21 cm.
600 10 $a Paz, Octavio, $d 1914- $x Translations, English.
700 10 $a Weinberger, Eliot. $9 55485
700 10 $a Aroul, G. $9 87475
907    $a .b10001165 $b circ  $c -
902    $a 051130
910    $a .b10001165
998    $b 1 $c 990820 $d m $e a $f - $g 0
935    $a AAA0119
945    $l circ 
952    $p 25053002806545 $4 0 $0 0 $6 PQ_07297_P285_A29 $9 114 $b HEDBERG $1 0
$o PQ 7297 P285 A29 $d 1999-09-03 $t 1 $7 0 $c CIRC $y 1 $a HEDBERG $l 3
999    $c 98 $d 98

nextResultSetPosition = 2
Elapsed: 0.076104
Z> show 2
Sent presentRequest (2+1).
Records: 1
[biblios]Record type: USmarc
01194pam a2200373 a 4500
001 10779203
008 840501s1985    txua     b    000 0 eng  
010    $a 84007585
020    $a 0292703716
040    $a DLC $c DLC $d GZC
041 1  $a eng $h spa
049    $a GZCC
050 0  $a PQ8097.N4 $b A8513 1985
082 0  $a 861 $2 19
090    $a PQ 8097 N4 A85.3
100 1  $a Neruda, Pablo, $d 1904-1973.
240 10 $a Arte de pajaros. $l English
245 10 $a Art of birds / $c Pablo Neruda ; translated by Jack Schmitt ; with
illustrations by Jack Unruh.
250    $a 1st ed.
260    $a Austin : $b University of Texas Press, $c 1985.
300    $a 87 p. : $b ill. ; $c 26 cm.
490 0  $a The Texas Pan American series
500    $a Translation of: Arte de pájaros.
504    $a Includes bibliographical references.
650  0 $a Birds $x Poetry.
700 10 $a Schmitt, Jack, $d 1932- $9 88849
907    $a .b10001384 $b circ  $c -
902    $a 080415
910    $a .b10001384
998    $b 1 $c 990820 $d m $e a $f - $g 0
935    $a AAA0142
945    $l circ 
952    $p 25053002806776 $4 0 $0 0 $6 PQ_08097_N4_A85_3 $9 134 $b HEDBERG $1 0
$o PQ 8097 N4 A85.3 $d 1999-09-03 $t 1 $7 0 $c CIRC $y 1 $a HEDBERG $l 6
999    $c 118 $d 118



This shows that the field IS indexed, but not necessarily to the specificity
desired.  Notice that both the records are actually for English translations of
Spanish text.  So that hit is from the 041$h, not $a.  

For Koha, Search.pm must not be targeting the correct index at all.




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the Koha-bugs mailing list