This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
This task was never closed in our old bug tracker.
Feel free to open a new task at Github if you feel this is still relevant.
FS#2667 Make the indexer replaceable
The indexer should be replaceable so a more efficient/powerful indexer implementation e.g. based on (Zend_Search_)Lucene can be used if needed.
I think the main idea should be to make the indexer class replaceable by introducing an indexer interface that needs to be implemented and making the already existing function idx_get_indexer() return an instance of the currently selected implementation of this interface.
The indexer could be a configuration option like the renderer and a new indexer plugin type could be used for this or the indexer class could be a constant that can be overridden in inc/preload.php like the plugin manager class. idx_get_indexer() could also fire an event where the indexer instance could be returned, the instance is stored in a static variable so this event would only be fired once in a request when the indexer is used.