aboutsummaryrefslogtreecommitdiff
path: root/sphinx_search.conf
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx_search.conf')
-rw-r--r--sphinx_search.conf21
1 files changed, 21 insertions, 0 deletions
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
}