码迷,mamicode.com
首页 > 其他好文 > 详细

coreseek 分布式搜索

时间:2015-05-12 01:51:42      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:coreseek distributed

master :

#index定义
index v2_index_base
{
        type            = distributed
        agent = 127.0.0.1:9387:v2_index_base_0
        agent = 127.0.0.1:9388:v2_index_base_1
        agent = 127.0.0.1:9389:v2_index_base_2
        agent = 127.0.0.1:9390:v2_index_base_3
        agent = 127.0.0.1:9391:v2_index_base_4
        agent = 127.0.0.1:9392:v2_index_base_5
        agent = 127.0.0.1:9393:v2_index_base_6
        agent = 127.0.0.1:9394:v2_index_base_7
        agent = 127.0.0.1:9395:v2_index_base_8
        agent = 127.0.0.1:9396:v2_index_base_9
        agent = 127.0.0.1:9381:v2_index_base_a
        agent = 127.0.0.1:9382:v2_index_base_b
        agent = 127.0.0.1:9383:v2_index_base_c
        agent = 127.0.0.1:9384:v2_index_base_d
        agent = 127.0.0.1:9385:v2_index_base_e
        agent = 127.0.0.1:9386:v2_index_base_f
        agent_connect_timeout = 1000  
        agent_query_timeout   = 3000
}


#全局index定义
indexer
{
    mem_limit           = 1500M
}

#searchd服务定义
searchd
{
    listen              = 9380
    read_timeout        = 5
    max_children        = 10
    max_matches     = 2000
    attr_flush_period       = 600
    seamless_rotate     = 0
    preopen_indexes     = 0
    unlink_old          = 1
    compat_sphinxql_magics = 0
    pid_file = /usr/local/coreseek/var/log/search_job_9380.pid
    log = /usr/local/coreseek/var/log/search_job_9380.log
    query_log = /usr/local/coreseek/var/log/search_job_9380_mysql.log
    #binlog_path =                                #关闭binlog日志
}


从:

和单机一样,没差别

coreseek 分布式搜索

标签:coreseek distributed

原文地址:http://haibo600.blog.51cto.com/1951311/1650378

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!