hi
Geoff Hutchison wrote:
>
> Hi again,
>
> I'm still quite busy finishing up the search side of phrase searching.
> Before I commit that, I wanted to make a few cleanups in
> htcommon/WordList.cc which would improve performance.
>
> Here's one. It offers a large performance improvement by only opening and
> closing the database once. Right now it does an open/close every call to
> Flush(), which is once per document, plus once per link.
>
> I assumed this would work without problems... Nope. After about 30
> documents, you get:
>
> DB2 problem...: /opt/www/htdig/db/db.docdb: page 934415490 doesn't exist,
> create flag not set
>
> This message pops up every call to flush after it starts. I think the patch
> uncovers something strange in our use of the Berkeley DB code. It may shed
> some light on what's happening when this crops up on the document side as
> well. Anyone else get the same problems with this patch?
Yes
1- some memory trashing ?
or
2- I don't really know about db code, but there's two wordlist so
words.db is opened two times.
Making dbf isopen and isread static solved it but I don't know which one
:(
Didier
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.