From a3f01580faf6caee4abcc8e682567b87380857b9 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 19 Jan 2019 00:02:57 +0100 Subject: Add khanindex nevrax indexation --- sphinx_search.conf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'sphinx_search.conf') diff --git a/sphinx_search.conf b/sphinx_search.conf index 63d8d0f..7740000 100644 --- a/sphinx_search.conf +++ b/sphinx_search.conf @@ -14,11 +14,32 @@ source neodarznet { } +source nevrax { + type = pgsql + + sql_host = 127.0.0.1 + sql_user = root + sql_pass = root + sql_db = khanindexer + + sql_query = SELECT id, url, title, content FROM nevrax + + sql_field_string = url + sql_field_string = title + sql_field_string = content + +} + index neodarznet { source = neodarznet path = /tmp/data/neodarznet } +index nevrax { + source = nevrax + path = /tmp/data/nevrax +} + indexer { mem_limit = 32M } -- cgit v1.2.1