summaryrefslogtreecommitdiff
path: root/SphinxSearch.md
blob: a9d795f40ae096fbac4bf5f7a2416c3772452265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
% Sphinx Search

This document is considered deprecated. Legacy search plugin is not maintained, and configuration examples apply to old Sphinx engine versions. 

----

With [sphinx_search](https://git.tt-rss.org/fox/ttrss-search-sphinx) plugin tt-rss is capable of using
[Sphinx](http://www.sphinxsearch.com) full-text search engine. 

Before adding <code>search\_sphinx</code> to <code>config.php</code> directive
<code>PLUGINS</code>, you’ll have to install and configure Sphinx indexing daemon as described in the [official docs](http://www.sphinxsearch.com/docs/).

Example configuration files attached below. Don’t forget that you need
to update the indexes, for example using cron:

    0   0    *   *   *   /usr/bin/indexer --rotate ttrss >/dev/null 2>&0
    0  */2   *   *   *   /usr/bin/indexer --rotate delta >/dev/null 2>&0

More information on delta indexing
[here](http://sphinxsearch.com/docs/1.10/delta-updates.html)

See also: [this forum
thread](http://tt-rss.org/oldforum/viewtopic.php?f=16&t=2078)

[pgsql.sphinx.conf](https://tt-rss.org/misc/sphinx/pgsql.sphinx.conf)
[mysql.sphinx.conf](https://tt-rss.org/misc/sphinx/mysql.sphinx.conf)