Metanames and -w

Gunnar Mätzler <[email protected]>
Newsgroups gmane.comp.web.swish-e
Message-ID <[email protected]>
Hello everybody,

I am somewhat confused on the use of Metanames in indexing and searching. I
have a configuration file which looks like this:


IndexDir ./swishfeed.exe
IndexFile ./school.index
IndexReport 4

MetaNames Fach Typ Verlag Klassenstufe Ueberschrift Anmerkung Autor Werk
Stichwort
PropertyNames Anmerkung
PropertyNamesNumeric Verlag Klassenstufe
FuzzyIndexingMode NONE

the programm swishfeed builds the content out of a database and returns
content like this:

Path-Name: 1
Content-Length: 984

<html>
<head>
</head>
<body>
<META NAME="Fach" CONTENT="Geschichte">
<META NAME="Typ" CONTENT="Txt">
<META NAME="Verlag" CONTENT="1">
<META NAME="Klassenstufe" CONTENT="8">
<META NAME="Ueberschrift" CONTENT="Warum &uuml;berhaupt Geschichte?">
<META NAME="Anmerkung" CONTENT="Es handelt sich um einen informierenden
Text, der wesentliche Argumente zusammenstellt und eine erl&auml;uternde
Diskussion erm&ouml;glicht. Man kann diesen Text auch analysieren und
kritisieren lassen.
<li>Um die Gegenwart erkl&auml;ren zu k&ouml;nnen.
<li>Um eine Perspektive f&uuml;r die Zukunft zu bekommen.
<br>Kleiner Exkurs: Lernen aus der Geschichte?
<li>Um in geistigen Auseinandersetzungen bestehen zu k&ouml;nnen.
<li>Um gegen&uuml;ber der Manipulation mit angeblicher Tradition seine
Freiheit bewahren zu k&ouml;nnen: Und nicht zuletzt aus Entdeckungs- und
Abenteuerlust.">
<META NAME="Autor" CONTENT="-">
<META NAME="Werk" CONTENT="-">
<META NAME="Stichwort" CONTENT="gse;">
</body>
</html>

Well, if I search the resulting index lets say for the word "Diskussion"
like this:

swish-e -w Diskussion

I get 0 results. If I search the metaname like:

swish-e -w Anmerkung=Diskussion

I get the correct result. Shouldn't I find "Diskussion" also when not
providing the metaname in the search? Or will i have to change something
when indexing if i want to be able to search within the complete index all
at once?

Best regards

Gunnar Mätzler
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.