mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-27 21:07:12 +00:00
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.
This commit is contained in:
@@ -146,11 +146,6 @@
|
||||
array_push($errors, "PHP support for CURL is required for PubSubHubbub.");
|
||||
}
|
||||
|
||||
if (SPHINX_ENABLED && class_exists("SphinxClient")) {
|
||||
array_push($errors, "Your PHP has a separate systemwide Sphinx client installed which conflicts with the client library used by tt-rss. Either remove the system library or disable Sphinx support.");
|
||||
|
||||
}
|
||||
|
||||
if (!class_exists("DOMDocument")) {
|
||||
array_push($errors, "PHP support for DOMDocument is required, but was not found.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user