On Mon, 8 Nov 1999, Mario Lang wrote:
> A separate program (for cron e.g.) which can be called to update
> the index would be cool.
> Dont know if there is a indexing system which can easily be modified to
> work with a database or with the kind of data in midgard databases.
That's the easy part: I could whip together a perl script that
dumps the entire database to some form of plain HTML (with
the PHP filtered out, presumably) in a few odd hours. Not
that this is necesarily the best approach, or even a good
one, but it's doable.
The challenge is going to be to get the indexing information
back into Midgard (so it can be matched against ACL data, for
example) and to pass it on to the application layer.
This all (if we happen to pick the external indexer approach) is
going to be double challenging if we want to be able to
plug in a users' choice of indexer.
OTOH: it may be feasible to dump the index back into an SQL
table (tables), so at least we'll have a standardized way to
access the index (SQL). But we'll probably lose valuable
search functions in the process (stemming, wild cards, boolean,
etc).
I would opt for picking a indexer that works well and looks like
it's not going to be a portability hurdle and make Midgard work
with that , treating it as an indexing "library". And offer a
switch to not include the functionality. Or include the package.
All this *does* add another dependancy on "outside" packages. More
building challenges. Yay.
Bye,
Emile
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]