zoukankan      html  css  js  c++  java
  • coreseek操作

     开启服务
    $  /usr/local/coreseek/bin/searchd -c /usr/local/coreseek/etc/csft.conf

    重新索引:

    /usr/local/coreseek/bin/indexer -c /usr/local/coreseek/etc/viewspot.conf --all

    如果重建索引时守护进程正在运行,会报错,需要运行下面的指令,会重建索引并且重开守护进程

    /usr/local/sphinx/bin/indexer -c /usr/local/sphinx/etc/test.conf --all --rotate



    索引完之后启动searchd:
    /usr/local/coreseek/bin/search -c /usr/local/coreseek/etc/csft.conf  "波音飞机博物馆"
    /usr/local/coreseek/bin/search -c /usr/local/coreseek/etc/viewspot.conf  "波音飞机博物馆"
    /usr/local/coreseek/bin/search "波音飞机博物馆"
    /usr/local/coreseek/bin/searchd -c /usr/local/coreseek/etc/csft.conf --stop
    查看所引进程
    ps auxww | grep searchd  
    kill 23593

  • 相关阅读:
    模板
    洛谷
    Codeforces
    Codeforces
    Codeforces
    Codeforces
    洛谷
    洛谷
    洛谷
    NOIP 普及组 2016 海港
  • 原文地址:https://www.cnblogs.com/brady-wang/p/6248183.html
Copyright © 2011-2022 走看看