другой индекс
версия 0.9.8 - release
кто нибуть сталкивался с таким лагом?
что же делать как же быть?
вот конфиг
source dbconnect
{
type = mysql
sql_host = 127.0.0.1
sql_user = root
sql_pass = root
sql_db = fcukin_biz
sql_port = 3306
sql_sock = /tmp/mysql.sock
}
indexer
{
mem_limit = 256M
}
searchd
{
address = 127.0.0.1
port = 3312
log = /usr/local/sphinx/data/searchd.log
query_log = /usr/local/sphinx/data/query.log
read_timeout = 5
max_children = 30
pid_file = /usr/local/sphinx/data/searchd.pid
max_matches = 1000
}
source clientpages : dbconnect
{
sql_query_pre = SET NAMES utf8
sql_query_pre = SET CHARACTER SET utf8
sql_query = SELECT clientpages.nid, clientpages.forindex FROM clientpages
sql_query_info = SELECT nid, forindex FROM clientpages WHERE nid = $id
sql_ranged_throttle = 1000
}
index clientpages
{
source = clientpages
path = /usr/local/sphinx/data
docinfo = extern
mlock = 0
morphology = stem_enru
min_word_len = 2
charset_type = utf-8
charset_table = 0..9, A..Z->a..z, _, a..z, U+410..U+42F->U+430..U+44F, U+430..U+44F
min_infix_len = 2
enable_star = 1
}
source boarditems : dbconnect
{
sql_query_pre = SET NAMES utf8
sql_query_pre = SET CHARACTER SET utf8
sql_query = SELECT boarditems.nid, boarditems.forindex FROM boarditems
sql_query_info = SELECT nid, forindex FROM boarditems WHERE nid = $id
sql_ranged_throttle = 1000
}
index boarditems
{
source = boarditems
path = /usr/local/sphinx/data
docinfo = extern
mlock = 0
morphology = stem_enru
min_word_len = 2
charset_type = utf-8
charset_table = 0..9, A..Z->a..z, _, a..z, U+410..U+42F->U+430..U+44F, U+430..U+44F
min_infix_len = 2
enable_star = 1
}