Hi,
splitbrain opened a new pull request at
https://github.com/splitbrain/dokuwiki/pull/3810:
This is another gradual improvement on top of #3556 and #3557.
This introduces the a collection that is meant to replace the current fulltext
index. Again this is pretty much a work in progress but should show how this
could work in the future.
Indexes themselves have evolved a bit more and provide a way to look up entries
by regular expression.
A collection basically manages access to all the the involved indexes. It
decides if an index is to be accessed as memory or file index. It also provides
mechanisms to work on the collection, eg add or update data in it. Currently it
is all implemented in a FulltextCollection which is our most complex index.
The FulltextCollection class still contains a bunch of stuff copied over from
our old code that needs to be refactored. That's probably the next step. Once
that is done I think it would make sense to move out some of the functionality
into a reusable base class.
This PR is mostly to ensure I won't forget what I did here a couple of weeks
ago.
Note: we should probably cherry-pick 12ebce974be688ac34bf4389645d5fc7baa29cc7
into master since test autoloading is currently broken
Please help us to review this pull request, so new contributors get feedback in
a timely manner.
2989eab0-4f91-11ed-903c-2ee05157f0c1
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist