Jim wrote:

On Fri, 25 Feb 2005, Olivier Vautrin wrote:

The indexing of my site seems to work fine but I can't search anything into my database. I have the message "No matches were found" for every words in the search page.

...

Everything seems to look fine. It seems that my database is full of words.

I don't know now how to troubleshoot further... Any help or ideas are welcome!


The first thing I would try is rerunning htdig/htmerge using the -c option to explicitly specify the configuration file you want to use. Then run htsearch from the command line also using the -c option to specify the configuration file. If the search works in this case, it is likely that htdig/htmerge and htsearch do not agree on the default location of the databases (i.e. they are using different configuration settings).

Jim


It seems that it is not a problem for the configuration files. I tried your suggestion without result.

The behaviour is quite simple to reproduce:

When I use the command: ."/htdig -i -h 3 -v ". the search engine is working well and htsearch also.
When I use the command: "./htdig -i -v". htsearch give me no result at all ("No matches were found").


The database is not empty:
su-2.05b# cd /usr/local/share/htdig/database/
su-2.05b# ls -al
total 148798
drwxrwxrwx  2 root  wheel       512 Mar 17 10:32 .
drwxr-xr-x  4 root  wheel       512 Feb 17 16:31 ..
-rw-r--r--  1 root  wheel    679936 Mar 17 12:28 db.docdb
-rwxrwxrwx  1 root  wheel   1376256 Mar 15 18:52 db.docdb.work
-rw-r--r--  1 root  wheel    180224 Mar 17 12:28 db.docs.index
-rwxrwxrwx  1 root  wheel    729088 Mar 15 18:52 db.docs.index.work
-rw-r--r--  1 root  wheel   5251072 Mar 17 12:28 db.excerpts
-rwxrwxrwx  1 root  wheel   7249920 Mar 15 18:52 db.excerpts.work
-rw-r--r--  1 root  wheel  47339520 Mar 17 12:28 db.words.db
-rwxrwxrwx  1 root  wheel  90491904 Mar 15 18:52 db.words.db.work
-rwxrwxrwx  1 root  wheel     16384 Mar 15 18:52 db.words.db.work_weakcmpr
-rw-r--r--  1 root  wheel     16384 Mar 17 12:28 db.words.db_weakcmpr
-rwxrwxrwx  1 root  wheel      9807 Feb 23 15:45 htdex.Bgh1uG

and an htdig with "-vvv" give me no interesting results in the logs...

Is there a maximum size for the database?

Thanks,
Olivier.





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to