loic@ceic.com
Mon, 2 Aug 1999 11:35:41 +0200 (MEST)
Brian Bray writes:
>
> I would like to use htdig to search through a mysql database that I
> have. I've thought about exporting records to files then letting htdig
> have at them but I could have millions of records soon and that would
> become very inefficient very fast.
>
> >From what I've been able to gather there is a database abstraction layer
> in htdig but its not fully implemented or something? Has anyone been able
> to hack htdig to work with mySQL?
>
There is no tight coupling between MySQL and htdig at present. As far
as I know, the only way to do it at present is to dump the MySQL database
and index it.
In 3.2 however, the indexing will be a library that you'll be able to
use on its own (hopefully :-). You will therefore be able to add a hook
for each insert/delete sql order so that indexing is done in real time. I
don't think there will be native support for indexing MySQL database
within htdig in 3.2.
The database layer of htdig, although quite nice, is not tailored for
SQL databases. I think it's not ready for use in this case.
You might be interested by the mysql++ version 1.0 found in the Contrib
directory of www.mysql.com. It is a c++ library that provides a nice
abstract layer to SQL databases.
Cheers,
-- Loic DacharyECILA 100 av. du Gal Leclerc 93500 Pantin - France Tel: 33 1 56 96 09 80, Fax: 33 1 56 96 09 61 e-mail: Loic@Dachary.org URL: http://www.senga.org/
------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev@htdig.org containing the single word "unsubscribe" in the SUBJECT of the message.
This archive was generated by hypermail 2.0b3 on Mon Aug 02 1999 - 01:43:30 PDT