[Xapian-discuss] Wildcardsearch with words with a hyphen

Matthias Nöbel noebel at flyingdog.de
Thu Jun 7 16:34:25 BST 2012


Hello,

i have a problem with the wildcardsearch (Flag 'FLAG_WILDCARD' activated) and words with a hyphen.

Here is a small test script:
http://psserver.fdog.de/test_mn/xap_test.php

If the wilcard is set before the hyphen, everthing is fine.
Is the wildcard placed after the hyphen (test-w*) the wildcard has no effect.

I know the used Xapian version is outdated, but i haven't found any bugreports about the combination wildcards and hyphens.
So i guess an update won't solve the problem, right?

Is there anything i can do? Escaping, setting additional Flags, ...?
Maybe someone had the problem as well and knows workarround? 

Thanks a lot.

Regards
Matthias


More information about the Xapian-discuss mailing list