aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/resources
diff options
context:
space:
mode:
authorGravatar Alexander Alexeev2016-11-18 01:30:39 +0700
committerGravatar Vitaly Takmazov2016-11-23 13:02:57 +0300
commit36f0ced4b46a1823a15d3e33e664891c92618b78 (patch)
tree92b3bc196701b3011049eaf58ec7c8143cf52ecc /juick-server/src/main/resources
parent149fc39c00c11b5be208914ea93a3c5bd5b7f11c (diff)
search service for full text search implementation;
search bean configuration
Diffstat (limited to 'juick-server/src/main/resources')
-rw-r--r--juick-server/src/main/resources/juick.conf.example22
1 files changed, 18 insertions, 4 deletions
diff --git a/juick-server/src/main/resources/juick.conf.example b/juick-server/src/main/resources/juick.conf.example
index c9411456..945bfae4 100644
--- a/juick-server/src/main/resources/juick.conf.example
+++ b/juick-server/src/main/resources/juick.conf.example
@@ -1,17 +1,31 @@
-#Driver
+### Main database JDBC connection settings ###
+# Main database JDBC driver
datasource_driver=net.sf.log4jdbc.DriverSpy
!datasource_driver=com.mysql.jdbc.Driver
-#Url
+# Main database JDBC Url
!datasource_url=jdbc:mysql://localhost:3306/juick?autoReconnect=true&zeroDateTimeBehavior=convertToNull&characterEncoding=UTF8
datasource_url=jdbc:log4jdbc:mysql://localhost:3306/juick?autoReconnect=true&zeroDateTimeBehavior=convertToNull&characterEncoding=UTF8
-#Username
+# Main database username
datasource_user=
-#Password
+# Main database password
datasource_password=
+### Sphinx search connection
+# Sphinx search JDBC driver
+sphinx_driver=com.mysql.jdbc.Driver
+
+# Sphinx search JDBC url
+sphinx_url=jdbc:mysql://127.0.0.1:9306?autoReconnect=true&useUnicode=yes&characterEncoding=utf8&maxAllowedPacket=512000
+
+# Sphinx search JDBC username
+sphinx_user=
+
+# Sphinx search JDBC password
+sphinx_password=
+
twitter_consumer_key=
twitter_consumer_secret=