{"id":2736,"date":"2013-04-29T15:32:20","date_gmt":"2013-04-29T07:32:20","guid":{"rendered":"https:\/\/kyle.ai\/blog\/?p=2736"},"modified":"2014-09-30T19:52:52","modified_gmt":"2014-09-30T11:52:52","slug":"coreseek%e5%ae%89%e8%a3%85%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"https:\/\/kyle.ai\/blog\/2736.html","title":{"rendered":"coreseek\u5b89\u88c5\u4f7f\u7528"},"content":{"rendered":"<p><span style=\"font-size: small;\">\u4ece\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5\uff1a<\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nwget http:\/\/www.coreseek.cn\/uploads\/csft\/3.2\/coreseek-3.2.14.tar.gz\r\ntar vxzf coreseek-3.2.14.tar.gz\r\ncd coreseek-3.2.14\r\n\r\n#\u5b89\u88c5coreseek\u5f00\u53d1\u7684mmseg\uff0c\u4e3acoreseek\u63d0\u4f9b\u4e2d\u6587\u5206\u8bcd\u529f\u80fd\r\ncd mmseg-3.2.14\/\r\nsudo apt-get install automake libtool\r\n.\/bootstrap\r\n##ubuntu\u73af\u5883\u4e0b\uff0c\u9700\u8981\u4f7f\u7528ACLOCAL_FLAGS=\"-I \/usr\/share\/aclocal\" .\/bootstrap\r\n.\/configure --prefix=\/usr\/local\/mmseg3\r\nmake\r\nsudo make install\r\n\r\n#\u5b89\u88c5coreseek\uff1a\r\ncd ..\/csft-3.2.14\r\nsh buildconf.sh\r\n.\/configure --prefix=\/usr\/local\/coreseek --with-python --without-unixodbc --with-mmseg --with-mmseg-includes=\/usr\/local\/mmseg3\/include\/mmseg\/ --with-mmseg-libs=\/usr\/local\/mmseg3\/lib\/ --with-mysql\r\nmake\r\nsudo make install\r\n\r\n<\/pre>\n<p>\u5982\u679c\u4f60\u7684gcc>=4.7\u5b89\u88c5\u7684\u8fc7\u7a0b\u4e2d\uff1a\u4f1amake\u7f16\u8bd1\u4e0d\u901a\u8fc7\uff0c\u63d0\u793a\uff1a error: \u2018ExprEval\u2019 was not declared in this scope<br \/>\n\u89e3\u51b3\u529e\u6cd5\uff1a<br \/>\n\u627e\u5230src\/sphinxexpr.cpp\u91cc\u9762\u7684\u4ee3\u7801<br \/>\nExprEval ( this->m_pArg, tMatch );<br \/>\n\u66ff\u6362\u4e3a<br \/>\nthis->ExprEval ( this->m_pArg, tMatch );<\/p>\n<p><span style=\"font-size: small;\">\u5b89\u88c5\u5b8c\u540e\uff0c\u914d\u7f6e\u597d\u914d\u7f6e\u6587\u4ef6\uff0c\u5148\u751f\u6210\u7d22\u5f15\uff1a<\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\/usr\/local\/coreseek\/bin\/indexer -c \/usr\/local\/coreseek\/etc\/\u4f60\u7684\u914d\u7f6e\u6587\u4ef6.conf --all\r\n<\/pre>\n<p><span style=\"font-size: small;\">\u5982\u679c\u53ea\u60f3\u7d22\u5f15\u67d0\u4e2a\u6570\u636e\u5e93\uff0c\u5219\u628a\u53c2\u6570 &#8211;all\u6362\u6210\u6570\u636e\u6e90\u7684\u540d\u79f0\uff1a<\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\/usr\/local\/coreseek\/bin\/indexer -c \/usr\/local\/coreseek\/etc\/sku.conf \u7d22\u5f15\u540d\u79f0(\u8fd9\u91cc\u7684\u7d22\u5f15\u540d\u79f0\u662f\u4f60\u5728sphinx.conf\u4e2d\u5b9a\u4e49\u7684\u7d22\u5f15\u540d\u79f0)\r\n<\/pre>\n<p><span style=\"font-size: small;\">\u518d\u5f00\u542f\u641c\u7d22\u670d\u52a1\uff1a<\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo \/usr\/local\/coreseek\/bin\/searchd -c \/usr\/local\/coreseek\/etc\/sku.conf\r\n<\/pre>\n<p><span style=\"font-size: small;\">\u6d4b\u8bd5\u641c\u7d22\uff1a<\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\/usr\/local\/coreseek\/bin\/search -c etc\/csft.conf -a \u641c\u7d22\u5173\u952e\u8bcd\r\n<\/pre>\n<p><span style=\"font-size: small;\">\u5982\u8981\u505c\u6b62\u641c\u7d22\u670d\u52a1\uff1a<\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\/usr\/local\/coreseek\/bin\/searchd -c etc\/csft.conf --stop\r\n<\/pre>\n<p><span style=\"font-size: small;\">\u8d44\u6599\uff1a<\/span><\/p>\n<p><span style=\"font-size: small;\">Sphinx\u901f\u6210\u6307\u5357 http:\/\/sphinxsearch.com\/wiki\/doku.php?id=sphinx_chinese_tutorial<\/span><\/p>\n<p><span style=\"font-size: small;\">coreseek\u5b98\u65b9\u5b89\u88c5\u6587\u6863 http:\/\/www.coreseek.cn\/products-install\/install_on_bsd_linux\/<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ece\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5\uff1a wget http:\/\/www.coreseek.cn\/uploads\/csft\/3.2\/c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-2736","post","type-post","status-publish","format-standard","hentry","category-diary"],"_links":{"self":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/2736","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/comments?post=2736"}],"version-history":[{"count":7,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/2736\/revisions"}],"predecessor-version":[{"id":5742,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/posts\/2736\/revisions\/5742"}],"wp:attachment":[{"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/media?parent=2736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/categories?post=2736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kyle.ai\/blog\/wp-json\/wp\/v2\/tags?post=2736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}