-
group
.recordType[
.name
]:
type
-
Specifies how records with the file extension
name
should be handled by the indexer.
This option may also be specified as a command line option
(-t). Note that if you do not specify a
name
, the setting applies to all files.
In general, the record type specifier consists of the elements (each
element separated by dot),
fundamental-type
,
file-read-type
and arguments. Currently, two
fundamental types exist, text and
grs.
-
group
.recordId:
record-id-spec
-
Specifies how the records are to be identified when updated. See
the section called “Locating Records”.
-
group
.database:
database
-
Specifies the Z39.50 database name.
-
group
.storeKeys:
boolean
-
Specifies whether key information should be saved for a given
group of records. If you plan to update/delete this type of
records later this should be specified as 1; otherwise it
should be 0 (default), to save register space.
See the section called “Indexing with File Record IDs”.
-
group
.storeData:
boolean
-
Specifies whether the records should be stored internally
in the Zebra system files.
If you want to maintain the raw records yourself,
this option should be false (0).
If you want Zebra to take care of the records for you, it
should be true(1).
- register:
register-location
-
Specifies the location of the various register files that Zebra uses
to represent your databases.
See the section called “Register Location”.
- shadow:
register-location
-
Enables the
safe update
facility of Zebra, and
tells the system where to place the required, temporary files.
See the section called “Safe Updating - Using Shadow Registers”.
- lockDir:
directory
-
Directory in which various lock files are stored.
- keyTmpDir:
directory
-
Directory in which temporary files used during zebraidx's update
phase are stored.
- setTmpDir:
directory
-
Specifies the directory that the server uses for temporary result sets.
If not specified /tmp will be used.
- profilePath:
path
-
Specifies a path of profile specification files.
The path is composed of one or more directories separated by
colon. Similar to PATH for UNIX systems.
- modulePath:
path
-
Specifies a path of record filter modules.
The path is composed of one or more directories separated by
colon. Similar to PATH for UNIX systems.
The 'make install' procedure typically puts modules in
/usr/local/lib/idzebra-2.0/modules.
- index:
filename
-
Defines the filename which holds fields structure
definitions. If omitted, the file default.idx
is read.
Refer to the section called “The default.idx file” for
more information.
- staticrank:
integer
-
Enables whether static ranking is to be enabled (1) or
disabled (0). If omitted, it is disabled - corresponding
to a value of 0.
Refer to the section called “Static Ranking” .
- estimatehits::
integer
-
Controls whether Zebra should calculate approximite hit counts and
at which hit count it is to be enabled.
A value of 0 disables approximiate hit counts.
For a positive value approximaite hit count is enabled
if it is known to be larger than
integer
.
Approximate hit counts can also be triggered by a particular
attribute in a query.
Refer to the section called “Global Approximative Limit Attribute (type 12)”.
- attset:
filename
-
Specifies the filename(s) of attribute set files for use in
searching. In many configurations bib1.att
is used, but that is not required. If Classic Explain
attributes is to be used for searching,
explain.att must be given.
The path to att-files in general can be given using
profilePath setting.
See also the section called “The Attribute Set (.att) Files”.
- memMax:
size
-
Specifies
size
of internal memory
to use for the zebraidx program.
The amount is given in megabytes - default is 4 (4 MB).
The more memory, the faster large updates happen, up to about
half the free memory available on the computer.
- tempfiles:
Yes/Auto/No
-
Tells zebra if it should use temporary files when indexing. The
default is Auto, in which case zebra uses temporary files only
if it would need more that
memMax
megabytes of memory. This should be good for most uses.
- root:
dir
-
Specifies a directory base for Zebra. All relative paths
given (in profilePath, register, shadow) are based on this
directory. This setting is useful if your Zebra server
is running in a different directory from where
zebra.cfg is located.
- passwd:
file
-
Specifies a file with description of user accounts for Zebra.
The format is similar to that known to Apache's htpasswd files
and UNIX' passwd files. Non-empty lines not beginning with
# are considered account lines. There is one account per-line.
A line consists of fields separate by a single colon character.
First field is username, second is password.
- passwd.c:
file
-
Specifies a file with description of user accounts for Zebra.
File format is similar to that used by the passwd directive except
that the password are encrypted. Use Apache's htpasswd or similar
for maintenance.
- perm.
user
:
permstring
-
Specifies permissions (priviledge) for a user that are allowed
to access Zebra via the passwd system. There are two kinds
of permissions currently: read (r) and write(w). By default
users not listed in a permission directive are given the read
privilege. To specify permissions for a user with no
username, or Z39.50 anonymous style use
anonymous. The permstring consists of
a sequence of characters. Include character w
for write/update access, r for read access and
a to allow anonymous access through this account.
- dbaccess
accessfile
-
Names a file which lists database subscriptions for individual users.
The access file should consists of lines of the form username:
dbnames, where dbnames is a list of database names, seprated by
'+'. No whitespace is allowed in the database list.