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

With ``sphinx_search`` 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)