I have a fairly simple local website which I index with htdig. If I use the option

allow_numbers:true

in my /etc/htdig/htdig.conf file so that I can search on numbers, rundig returns the following error at the end:

DB2 problem...: missing or empty key value specified

Searchs still work but no numbers have been indexed. Without the "allow_numbers: true" option everything works perfectly but obviously no numbers have been indexed. I get this behaviour even if I index just a single page (with some numbers). Can anyone confirm this, and better still suggest how to get it working. I am running CentOS4.

Everything works fine if you use a vanilla version of htdig (compiled from the official sources). The problem comes because one of the redhat patches (htdig-3.1.5-rh.patch) adds two lines at the end of /usr/bin/rundig:

/usr/bin/htfuzzy $verbose metaphone
/usr/bin/htfuzzy $verbose soundex

Comment these two lines out and numbers should be indexed - presumably at the expense of not being able to use fuzzy matching.
Andy