关于xunsearch的安装 使用

作者: hopevow | 来源:发表于2016-09-22 09:45 被阅读14次

    下载、安装

    wget http://www.xunsearch.com/download/xunsearch-full-latest.tar.bz2
    tar -xjf xunsearch-full-latest.tar.bz2
    cd xunsearch-full-1.3.0/
    sh setup.sh
    

    运行

    bin/xs-ctl.sh -b local start    // 监听在本地回环地址 127.0.0.1 上
    bin/xs-ctl.sh -b inet start     // 监听在所有本地 IP 地址上
    bin/xs-ctl.sh -b a.b.c.d start  // 监听在指定 IP 上
    bin/xs-ctl.sh -b unix start     // 分别监听在 tmp/indexd.sock 和 tmp/searchd.sock
    

    项目配置

    project.name = qqcms
    project.default_charset = utf-8
    server.index = 127.0.0.1:8383
    server.search = 127.0.0.1:8384
    
    [url]
    type = id
    
    [title]
    type = title
    index = mixed
    
    [content]
    type = string
    index = none
    
    [time]
    type = numeric
    
    [quotes]
    type = string
    index = none
    
    [img] 
    type = string
    index = none
    

    相关文章

      网友评论

        本文标题:关于xunsearch的安装 使用

        本文链接:https://www.haomeiwen.com/subject/vkmaettx.html