> > I believe that 3.2 now compresses that file by default, so a simple
> > grep won't do it. Have you tried htsearch from the command line?
It is not compressed by default. A grep will find but echo very long lines.
Instead you should use htdump (from the htdb directory). If compression is
enabled use htdump -Wz -p file. -z says it's compressed, -W says the
compression scheme is the one implemented in htword/WordDBCompress. When
compression is activated (wordlist_compress: true) the index is compressed
using this method. Specifying htdump -z -p file would imply to use the
default compression scheme (zlib) but this is not in use with htdig.
> I doubt you'll find the word in plaintext. As Gilles said, you can run it
> from the command line, and adding -vvv (etc) can give some useful debug
> information too.
Correct. Specifying the -t argument to htdig will also produce a *.wordlist
file containing plain ascii image of the inverted index. This option is
used when runing tests with make check.
Cheers,
--
Loic Dachary
24 av Secretan
75019 Paris
Tel: 33 1 42 45 09 16
e-mail: [EMAIL PROTECTED]
URL: http://www.senga.org/
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.