]> git.wh0rd.org Git - tt-rss.git/commit
Make search mechanism pluggable
authorRob Hoelz <rob@hoelz.ro>
Tue, 15 Apr 2014 04:18:33 +0000 (23:18 -0500)
committerAndrew Dolgov <noreply@fakecake.org>
Wed, 23 Apr 2014 04:49:54 +0000 (04:49 +0000)
commitbaaf4c3043f428ec009dd48b85e1c2d6cb8abee4
tree7bdf437023fad735a58d149c4177b70b20630b97
parent87ddd5e1f9465a24fdb087356e31ab8fe73bdf0a
Make search mechanism pluggable

Currently, TinyTinyRSS can use raw SQL or the Sphinx search engine
for searching.  It would be nice if other search engines (such as
Xapian) could be used, or if features of the underlying SQL engine
(such as MySQL's FULLTEXT indexes) could be leveraged.  This commit
makes searching into a plugin hook, falling back to the builtin behavior
if no search plugin is active.  The Sphinx search behavior has been
broken out into a plugin.
classes/feeds.php
classes/pluginhost.php
config.php-dist
include/functions2.php
include/sanity_check.php
include/sanity_config.php
lib/sphinxapi.php [deleted file]
plugins/search_sphinx/init.php [new file with mode: 0644]
plugins/search_sphinx/sphinxapi.php [new file with mode: 0644]