where to find more about index -k syntax

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

where to find more about index -k syntax

Post by Thunderstone »



I tried to search webinator and texis documentation, but was not able to =
find description how to form index expression (key)

You wrote, that -k"[\alpha\x80-\xff]{2,99}" -index works for cyrillic =
pages, but unfortunately I can not force it to work.

Possible you can walk and index site http://www.abc.lv/hyprbibl/ for us? =
It is in windows-1251 codepage.

Thank You,

Edmunds Zalite




User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

where to find more about index -k syntax

Post by Thunderstone »




Do you get a specific error message when using the -k expression, or
when searching? Or do searches simply not return expected results?


In addition to using an index expression like -k"[\alnum\x80-\xff]{2,99}",
make sure your searches are for EXACTLY the same words as in the
source text. The words' spelling, and the character set/font MUST be
the same as the source text when submitting the search.
An unknown character set may cause browsers to incorrectly submit the
query, ie. stripping or changing characters, and thus cause Webinator
searches to fail. Make sure all your pages name the font and character
set they use, either with an HTTP header (server configuration), or the
appropriate <META> tag in the document. This will let browsers know
what the character set is, both to display the page properly and to
submit forms correctly.

Keep in mind that the Webinator and Metamorph are intended primarily
for the ISO-8859 (US ASCII) character set, and English-language text.
Other languages and character sets can generally be searched, but some
of Metamorph's flexibility is lost on non-English text.


-Kai





User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

where to find more about index -k syntax

Post by Thunderstone »



cyrillic =3D

searches not return any usefull matches - looks like that webinator =
"thinks" that for example =F4=EE=F2=EE=E8=F1=EA=F3=F1=F2=E2=EE are many =
short words delimited with spaces (it discovers uder View context).
-k"[\alnum\x80-\xff]{2,99}",

I tried so. :(

> The words' spelling, and the character set/font MUST be

about character set is difficult to say, because we use 1251 and 1257 =
switcable as in W95

the
character
the

OK. we will try. how works webinator in Russia? possible someone can =
help from there?

thank you in advance,
edmunds


Post Reply