merged folder branch

Change-Id: I57f3427b128e8b313572e7bc3734933f4d345d1c
Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
SJ
2016-12-20 22:09:20 +01:00
18 changed files with 131 additions and 91 deletions

View File

@ -71,7 +71,7 @@ backlog=20
workdir=/var/piler/tmp
; whether to enable writing folder_message table (1) or not (0)
; whether the daemon is enabled writing folder_message table (1) or not (0)
enable_folders=0
; discard a message if it's shorter than this value (in bytes)

View File

@ -86,6 +86,14 @@ source att : base
sql_attr_uint = mid
}
source folder : base
{
sql_query_pre = SET NAMES utf8
sql_query = select id, folder_id, message_id, uid FROM folder_message
sql_attr_uint = uid
sql_attr_uint = folder_id
}
index main1
{
@ -189,7 +197,7 @@ index note1
index att1
{
source = att
path = /var/piler/sphinx/att1
path = LOCALSTATEDIR/piler/sphinx/att1
docinfo = extern
dict = keywords
min_prefix_len = 6
@ -198,6 +206,15 @@ index att1
ngram_chars = U+1100..U+2FA1F
}
index folder1
{
source = folder
path = LOCALSTATEDIR/piler/sphinx/folder1
docinfo = extern
dict = keywords
min_prefix_len = 6
min_word_len = 1
}
indexer
{