Hello Frode,

For non-cluster version, you can change "if (leading < 4)" in
wp_wildcard_range() function in libsrc/Wi/text.c with some smaller
limit. Note, however, that there's maximum supported number of words
that match to a wildcard, as "#define WST_WILDCARD_MAX 1000" in
libsrc/Wi/text.h . It can be increased, if needed, maybe up to 1000, but
the performance of will be bad for abnormally long lists of words that
match short wildcard pattern.

Best Regards,

Ivan Mikhailov
OpenLink Software
http://virtuoso.openlinksw.com

On Tue, 2010-03-16 at 14:31 +0100, Frode Roxrud Gill wrote:
> After upgrading from Virtuoso 5.0.13 to Virtuoso 6.1.0, I get "error
> 22023 FT370: Wildcard word needs at least 4 leading characters,
> assuming unknown count". In Virtuoso5, this limit was 3, not 4 (see
> wp_wildcard_range in libsrc/Wi/text.c).
> What was the reason for this change? Can I simply change the value
> back to 3 and recompile, or will this have side-effects?
> 


Reply via email to