coreseek 分布式搜索

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,分布式搜索,Distributed)