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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
<html><head><meta charset="ISO-8859-1"><title>4.Upgrading from Zebra version 1.3.x</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="installation.html" title="Chapter2.Installation"><link rel="prev" href="installation-win32.html" title="3.Windows"><link rel="next" href="tutorial.html" title="Chapter3.Tutorial"></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">4.Upgrading from <span class="application">Zebra</span> version 1.3.x</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="installation-win32.html">Prev</a></td><th width="60%" align="center">Chapter2.Installation</th><td width="20%" align="right"><a accesskey="n" href="tutorial.html">Next</a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="installation-upgrade"></a>4.Upgrading from <span class="application">Zebra</span> version 1.3.x</h2></div></div></div><p>
<span class="application">Zebra</span>'s installation directories have changed a bit. In addition,
the new loadable modules must be defined in the
master <code class="filename">zebra.cfg</code> configuration file. The old
version 1.3.x configuration options
</p><pre class="screen">
# profilePath - where to look for config files
profilePath: some/local/path:/usr/share/idzebra/tab
</pre><p>
must be changed to
</p><pre class="screen">
# profilePath - where to look for config files
profilePath: some/local/path:/usr/share/idzebra-2.0/tab
# modulePath - where to look for loadable zebra modules
modulePath: /usr/lib/idzebra-2.0/modules
</pre><p>
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
The internal binary register structures have changed; all <span class="application">Zebra</span>
databases must be re-indexed after upgrade.
</p></div><p>
The attribute set definition files may no longer contain
redirection to other fields.
For example the following snippet of
a custom <code class="filename">custom/bib1.att</code>
<acronym class="acronym">BIB-1</acronym> attribute set definition file is no
longer supported:
</p><pre class="screen">
att 1016 Any 1016,4,1005,62
</pre><p>
and should be changed to
</p><pre class="screen">
att 1016 Any
</pre><p>
</p><p>
Similar behaviour can be expressed in the new release by defining
a new index <code class="literal">Any:w</code> in all <acronym class="acronym">GRS-1</acronym>
<code class="filename">*.abs</code> record indexing configuration files.
The above example configuration needs to make the changes
from version 1.3.x indexing instructions
</p><pre class="screen">
xelm /*/alternative Body-of-text:w,Title:s,Title:w
xelm /*/title Body-of-text:w,Title:s,Title:w
</pre><p>
to version 2.0.0 indexing instructions
</p><pre class="screen">
xelm /*/alternative Any:w,Body-of-text:w,Title:s,Title:w
xelm /*/title Any:w,Body-of-text:w,Title:s,Title:w
</pre><p>
</p><p>
It is also possible to map the numerical attribute value
<code class="literal">@attr 1=1016</code> onto another already existing huge
index, in this example, one could for example use the mapping
</p><pre class="screen">
att 1016 Body-of-text
</pre><p>
with equivalent outcome without editing all <acronym class="acronym">GRS-1</acronym>
<code class="filename">*.abs</code> record indexing configuration files.
</p><p>
Server installations which use the special
<code class="literal"><acronym class="acronym">IDXPATH</acronym></code> attribute set must add the following
line to the <code class="filename">zebra.cfg</code> configuration file:
</p><pre class="screen">
attset: idxpath.att
</pre><p>
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="installation-win32.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="installation.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="tutorial.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">3.Windows</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">Chapter3.Tutorial</td></tr></table></div></body></html>
|