Download User`s manual

Transcript
where NAME is metadata tag filter name from the file tagTable.ini which was also
initialized in the HTTP-transport initialization group (see 3.1.1 x-metadata key description)
([http]::x-metadata = comma-separated-name-list)
NUMBER – numerical value from range of a certain tag-filter type according to the
description in tagTable.ini file.
For each name assigned in the [http]::x-metadata list at each document downloading httptransport creates search header named X-METASE-<NAME>, found value pairs are kept for
further indexing use.
Also HTTP-header can be used for sending a line which will be used as a title of a
document while indexing and searching. Such a header has the following view:
X-METASE-TITLE: <TITLE-STRING>
where
TITLE-STRING – line, pointing an alternative document title.
TITLE-STRING must be pointed according to the following grammar.
TITLE-STRING:
=?windows-1251?U?<url-encoded-string>?=
<url-encoded-string>:
the line is in the windows-1251 encoding, all format forbidden URL characters which are
encoded into sequences %<hex-number> where %<hex-number> is a symbol made of 16 numbers
in windows-1251 encoding.
NOTE: only printed characters can be used for alternative document header line creation.
Example of an HTTP-header:
X-METASE-TITLE: =?windows-1251?U?Substitution%20of%20a%20title?=
X-METASE-TOPIC: 255
The value of the document title will be set in the value “Substitution of a title”, value
of the tag-filter of metadata – 255.
Initialization files of the service need to be changed for processing this type of
headers:
searchService.ini:
[http]
...
x-metadata=title,topic
tagTable.ini:
[topic]
metaname=topic
filter=yes
search=no
type=int
For changes in the tagTable.ini file to take place search database needs to be deleted.