~ubuntu-branches/ubuntu/utopic/idzebra/utopic

« back to all changes in this revision

Viewing changes to doc/tutorial-oai-z3950.html

  • Committer: Bazaar Package Importer
  • Author(s): Vincent Danjean
  • Date: 2009-07-27 21:30:53 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090727213053-da67wv994zcsa253
Tags: 2.0.40-1
* New Upstream Version
* debian/control: bump Standard-Version (no change needed)
* debian/patches: refresh and update for-upstream_fix-link-system.patch
* debian/libidzebra-2.0-0.symbols: add two new symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
     Z> elements zebra::facet::any:w
52
52
     Z> show 1+1
53
53
     
54
 
     Z> elements zebra::facet::dc_publisher:p,dc_title:p
 
54
     Z> elements zebra::facet::publisher:p,title:p
55
55
     Z> show 1+1
56
56
    </pre><p>
57
57
   </p><p>
69
69
     Z&gt; find @attr 1=oai_setspec @attr 4=3 7374617475733D756E707562
70
70
     Z&gt; show 1+1
71
71
     
72
 
     Z&gt; find @attr 1=dc_title communication
 
72
     Z&gt; find @attr 1=title communication
73
73
     Z&gt; show 1+1
74
74
     
75
 
     Z&gt; find @attr 1=dc_identifier @attr 4=3  
 
75
     Z&gt; find @attr 1=identifier @attr 4=3  
76
76
     http://resolver.caltech.edu/CaltechCSTR:1986.5228-tr-86
77
77
     Z&gt; show 1+1
78
78
    </pre><p>
87
87
     Z&gt; scan @attr 1=oai_datestamp @attr 4=3 1
88
88
     Z&gt; scan @attr 1=oai_setspec @attr 4=3 2000
89
89
     Z&gt;
90
 
     Z&gt; scan @attr 1=dc_title communication
91
 
     Z&gt; scan @attr 1=dc_identifier @attr 4=3 a
 
90
     Z&gt; scan @attr 1=title communication
 
91
     Z&gt; scan @attr 1=identifier @attr 4=3 a
92
92
    </pre><p>
93
93
   </p><p>
94
94
    <acronym class="acronym">Z39.50</acronym> search using server-side CQL conversion:
122
122
     structure attribute instruction.   
123
123
    </p></div><p>
124
124
    Notice that searching and scan on indexes
125
 
    <code class="literal">dc_contributor</code>,  <code class="literal">dc_language</code>, 
126
 
    <code class="literal">dc_rights</code>, and <code class="literal">dc_source</code> 
 
125
    <code class="literal">contributor</code>,  <code class="literal">language</code>, 
 
126
    <code class="literal">rights</code>, and <code class="literal">source</code> 
127
127
    might fail, simply because none of the records in the small example set 
128
128
    have these fields set, and consequently, these indexes might not
129
129
    been created.