Namazu-devel-en(old)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [namazu] $META_TAG ?
- From: knok@xxxxxxxxxxxxx
- Date: Tue, 03 Feb 2004 15:53:01 +0900
- X-ml-name: namazu-devel-en
- X-mail-count: 00098
- References: <1075736609.17010.66.camel@xav> <200402030042.FMLAAB27348.namazu-devel-en@namazu.org> <1075736934.17010.72.camel@xav>
At Mon, 02 Feb 2004 16:48:55 +0100,
Xavier Grangier wrote:
> I'm new to this list. I have some question about the META_TAG variable.
Hmm, it is less documented feature.
> I change the $META_TAG variable in the mknmzrc configuration file to:
>
> $META_TAGS = "keywords|description|test";
>
> What do I have to change to have a searchable index of <meta name="test" content="XXX"> ?
The avobe configuration means that makes the new field 'test', but it
lacks a little bit.
You also need to modify the $SEARCH_FIELD variable like the following:
$SEARCH_FIELD = "message-id|subject|from|date|uri|newsgroups|to|summary|size|test";
To specify it, mknzm produces NMZ.field.test* files in the index
directory, and you can use the word 'test' as a field.
Ex.
$ namazu '+test:XXX' index-dir
--
NOKUBI Takatsugu
E-mail: knok@xxxxxxxxxxxxx
knok@xxxxxxxxxx / knok@xxxxxxxxxx