File: administration.html

package info (click to toggle)
idzebra 2.2.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,572 kB
  • sloc: ansic: 54,389; xml: 27,058; sh: 5,892; makefile: 1,102; perl: 210; tcl: 64
file content (51 lines) | stat: -rw-r--r-- 8,285 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter6.Administrating Zebra</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="Zebra - User's Guide and Reference"><link rel="up" href="index.html" title="Zebra - User's Guide and Reference"><link rel="prev" href="querymodel-cql-to-pqf.html" title="4.Server Side CQL to PQF Query Translation"><link rel="next" href="zebra-cfg.html" title="2.The Zebra Configuration File"></head><body><link rel="stylesheet" type="text/css" href="common/style1.css"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter6.Administrating <span class="application">Zebra</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="querymodel-cql-to-pqf.html">Prev</a></td><th width="60%" align="center"></th><td width="20%" align="right"><a accesskey="n" href="zebra-cfg.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="administration"></a>Chapter6.Administrating <span class="application">Zebra</span></h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="sect1"><a href="administration.html#record-types">1. Record Types</a></span></dt><dt><span class="sect1"><a href="zebra-cfg.html">2. The <span class="application">Zebra</span> Configuration File</a></span></dt><dt><span class="sect1"><a href="locating-records.html">3. Locating Records</a></span></dt><dt><span class="sect1"><a href="simple-indexing.html">4. Indexing with no Record IDs (Simple Indexing)</a></span></dt><dt><span class="sect1"><a href="file-ids.html">5. Indexing with File Record IDs</a></span></dt><dt><span class="sect1"><a href="generic-ids.html">6. Indexing with General Record IDs</a></span></dt><dt><span class="sect1"><a href="register-location.html">7. Register Location</a></span></dt><dt><span class="sect1"><a href="shadow-registers.html">8. Safe Updating - Using Shadow Registers</a></span></dt><dd><dl><dt><span class="sect2"><a href="shadow-registers.html#shadow-registers-description">8.1. Description</a></span></dt><dt><span class="sect2"><a href="shadow-registers.html#shadow-registers-how-to-use">8.2. How to Use Shadow Register Files</a></span></dt></dl></dd><dt><span class="sect1"><a href="administration-ranking.html">9. Relevance Ranking and Sorting of Result Sets</a></span></dt><dd><dl><dt><span class="sect2"><a href="administration-ranking.html#administration-overview">9.1. Overview</a></span></dt><dt><span class="sect2"><a href="administration-ranking.html#administration-ranking-static">9.2. Static Ranking</a></span></dt><dt><span class="sect2"><a href="administration-ranking.html#administration-ranking-dynamic">9.3. Dynamic Ranking</a></span></dt><dd><dl><dt><span class="sect3"><a href="administration-ranking.html#administration-ranking-dynamic-rank1">9.3.1. Dynamically ranking using <acronym class="acronym">PQF</acronym> queries with the 'rank-1'
      algorithm</a></span></dt><dt><span class="sect3"><a href="administration-ranking.html#administration-ranking-dynamic-cql">9.3.2. Dynamically ranking <acronym class="acronym">CQL</acronym> queries</a></span></dt></dl></dd><dt><span class="sect2"><a href="administration-ranking.html#administration-ranking-sorting">9.4. Sorting</a></span></dt></dl></dd><dt><span class="sect1"><a href="administration-extended-services.html">10. Extended Services: Remote Insert, Update and Delete</a></span></dt><dd><dl><dt><span class="sect2"><a href="administration-extended-services.html#administration-extended-services-z3950">10.1. Extended services in the <acronym class="acronym">Z39.50</acronym> protocol</a></span></dt><dt><span class="sect2"><a href="administration-extended-services.html#administration-extended-services-yaz-client">10.2. Extended services from yaz-client</a></span></dt><dt><span class="sect2"><a href="administration-extended-services.html#administration-extended-services-yaz-php">10.3. Extended services from yaz-php</a></span></dt><dt><span class="sect2"><a href="administration-extended-services.html#administration-extended-services-debugging">10.4. Extended services debugging guide</a></span></dt></dl></dd></dl></div><p>
   Unlike many simpler retrieval systems, <span class="application">Zebra</span> supports safe, incremental
   updates to an existing index.
  </p><p>
   Normally, when <span class="application">Zebra</span> modifies the index it reads a number of records
   that you specify.
   Depending on your specifications and on the contents of each record
   one the following events take place for each record:
   </p><div class="variablelist"><dl class="variablelist"><dt><span class="term">Insert</span></dt><dd><p>
       The record is indexed as if it never occurred before.
       Either the <span class="application">Zebra</span> system doesn't know how to identify the record or
       <span class="application">Zebra</span> can identify the record but didn't find it to be already indexed.
      </p></dd><dt><span class="term">Modify</span></dt><dd><p>
       The record has already been indexed.
       In this case either the contents of the record or the location
       (file) of the record indicates that it has been indexed before.
      </p></dd><dt><span class="term">Delete</span></dt><dd><p>
       The record is deleted from the index. As in the
       update-case it must be able to identify the record.
      </p></dd></dl></div><p>
  </p><p>
   Please note that in both the modify- and delete- case the <span class="application">Zebra</span>
   indexer must be able to generate a unique key that identifies the record
   in question (more on this below).
  </p><p>
   To administrate the <span class="application">Zebra</span> retrieval system, you run the
   <code class="literal">zebraidx</code> program.
   This program supports a number of options which are preceded by a dash,
   and a few commands (not preceded by dash).
  </p><p>
   Both the <span class="application">Zebra</span> administrative tool and the <acronym class="acronym">Z39.50</acronym> server share a
   set of index files and a global configuration file.
   The name of the configuration file defaults to
   <code class="literal">zebra.cfg</code>.
   The configuration file includes specifications on how to index
   various kinds of records and where the other configuration files
   are located. <code class="literal">zebrasrv</code> and <code class="literal">zebraidx</code>
   <span class="emphasis"><em>must</em></span> be run in the directory where the
   configuration file lives unless you indicate the location of the
   configuration file by option <code class="literal">-c</code>.
  </p><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="record-types"></a>1.Record Types</h2></div></div></div><p>
    Indexing is a per-record process, in which either insert/modify/delete
    will occur. Before a record is indexed search keys are extracted from
    whatever might be the layout the original record (sgml,html,text, etc..).
    The <span class="application">Zebra</span> system currently supports two fundamental types of records:
    structured and simple text.
    To specify a particular extraction process, use either the
    command line option <code class="literal">-t</code> or specify a
    <code class="literal">recordType</code> setting in the configuration file.
   </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="querymodel-cql-to-pqf.html">Prev</a></td><td width="20%" align="center"></td><td width="40%" align="right"><a accesskey="n" href="zebra-cfg.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">4.Server Side <acronym class="acronym">CQL</acronym> to <acronym class="acronym">PQF</acronym> Query Translation</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">2.The <span class="application">Zebra</span> Configuration File</td></tr></table></div></body></html>