From: Gilles D. <gr...@sc...> - 2004-01-05 19:11:06
|
According to Roman Maeder: > I am playing around with 3.2.0b5 on my test and development machine and > I am running into some problems with prefix searching with the "de" locale. ... > locale: de_DE.ISO8859-1 > search_algorithm: exact:1 prefix:0.6 endings:0.4 > > as well as custom endings dictionaries (according to FAQ 4.10), > gives me problems with prefix searching. If I search for "word" (without the > quotes) it finds the given word, but with "wor*" or so, it never finds *any* > matches. The value of $(LOGICAL_WORDS) in the nomatch output template shows > me that it did expand all possible words, but it doesn't find any pages! > Does anybody have an idea what the problem could be? This is on > sparc-sun-solaris2.8 You may need to use a comma rather than a period for the decimal point when in that locale. E.g.: locale: de_DE.ISO8859-1 search_algorithm: exact:1 prefix:0,6 endings:0,4 See http://www.htdig.org/dev/htdig-3.2/attrs.html#locale and http://www.htdig.org/dev/htdig-3.2/attrs.html#search_algorithm -- Gilles R. Detillieux E-mail: <gr...@sc...> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) |