[Zebralist] order and special characters.

Henri-Damien LAURENT henridamien at koha-fr.org
Thu Jan 25 10:43:46 CET 2007


Hi <http://pastebin.ca/327842>
I am playing with zebra and try to find how to order answers.
Here comes a log :
Heading is 250$a
and it seems that 32-01 is set before 32 himself before 32-01.
This is quite a funny way to order things.

My guess is that - is a special character (it is used in ccl and when I
try to search something with -, this character is put aside when doing
the search in zebra)

So my questions :
- How can I have a correct alphabetical order ?
- Where can I find a full list of special characters ?
- How can special characters be escaped ans searched ?

Z> f @and @attr 1=Authority/format-id @attr 5=100 MSC @or @attr
1=Heading @attr 4=1 32 @attr 7=1 @attr 1=Heading 0
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 8, setno 3
SearchResult-1: term=MSC cnt=37, term=32 cnt=8
records returned: 0
Elapsed: 0.012643
Z> show
Sent presentRequest (1+1).
Records: 1
[authorities]Record type: USmarc
00180nac  22000731u 4500
001 160806
100    $a frey50
152    $b MSC
250    $a 32-01 $b 32-01 -- Instructional exposition (textbooks,
tutorial papers, etc.)
 
nextResultSetPosition = 2
Elapsed: 0.096767
Z> show
Sent presentRequest (2+1).
Records: 1
[authorities]Record type: USmarc
00164nac  22000731u 4500
001 159812
100    $a frey50
152    $b MSC
250    $a 32-06 $b 32-06 -- Proceedings, conferences, collections, etc.
 
nextResultSetPosition = 3
Elapsed: 0.021492
Z>
Sent presentRequest (3+1).
Records: 1
[authorities]Record type: USmarc
00170nac  22000731u 4500
001 159778
100    $a frey50
152    $b MSC
250    $a 32-02 $b 32-02 -- Research exposition (monographs, survey
articles)
 
nextResultSetPosition = 4
Elapsed: 0.001721
Z>
Sent presentRequest (4+1).
Records: 1
[authorities]Record type: USmarc
00166nac  22000731u 4500
001 158949
100    $a frey50
152    $b MSC
250    $a 32-XX $b 32-XX -- Several complex variables and analytic spaces
 
nextResultSetPosition = 5
Elapsed: 0.016279
Z>
Sent presentRequest (5+1).
Records: 1
[authorities]Record type: USmarc
00160nac  22000731u 4500
001 158574
100    $a frey50
152    $b MSC
250    $a 32 $b 32 -- Several complex variables and analytic spaces
 
nextResultSetPosition = 6
Elapsed: 0.016064
Z>
Sent presentRequest (6+1).
Records: 1
[authorities]Record type: USmarc
00192nac  22000731u 4500
001 158462
100    $a frey50
152    $b MSC
250    $a 32-00 $b 32-00 -- General reference works (handbooks,
dictionaries, bibliographies, etc.)
 
nextResultSetPosition = 7
Elapsed: 0.004744
Z>
Sent presentRequest (7+1).
Records: 1
[authorities]Record type: USmarc
00206nac  22000731u 4500
001 155763
100    $a frey50
152    $b MSC
250    $a 32-03 $b 32-03 -- Historical (must also be assigned at least
one classification number from Section 01)

-- 
Henri Damien LAURENT et Paul POULAIN 
Consultants indépendants 
en logiciels libres et bibliothéconomie (http://www.koha-fr.org)




More information about the Zebralist mailing list