gpt4 book ai didi

search - 无法执行sphinx搜索命令未找到

转载 作者:行者123 更新时间:2023-12-03 02:44:06 25 4
gpt4 key购买 nike

我有 Opensuse 13.2 操作系统。我还安装了sphinx搜索引擎。一切都很棒,直到我尝试在终端中执行搜索命令。

search: command not found

在此之前,我配置了 sphinx,执行了索引器,执行了 searchd,一切都很好。

这是 searchd 输出命令:

vitalik-opensuse:/home/vitalik # searchd 
Sphinx 2.2.8-id64-release (rel22-r4942)
Copyright (c) 2001-2015, Andrew Aksyonoff
Copyright (c) 2008-2015, Sphinx Technologies Inc(http://sphinxsearch.com)

using config file '/etc/sphinx/sphinx.conf'...
listening on all interfaces, port=9312
listening on all interfaces, port=9306
precaching index 'deal'
precaching index 'deal-have'
precaching index 'deal-want'
precached 3 indexes in 0.086 sec

这是索引器输出:

vitalik-opensuse:/home/vitalik # indexer --all
Sphinx 2.2.8-id64-release (rel22-r4942)
Copyright (c) 2001-2015, Andrew Aksyonoff
Copyright (c) 2008-2015, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file '/etc/sphinx/sphinx.conf'...
indexing index 'deal'...
collected 7 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 7 docs, 1355 bytes
total 0.021 sec, 62708 bytes/sec, 323.95 docs/sec
indexing index 'deal-have'...
collected 7 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 7 docs, 1355 bytes
total 0.007 sec, 193240 bytes/sec, 998.28 docs/sec
indexing index 'deal-want'...
collected 7 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 7 docs, 1355 bytes
total 0.006 sec, 207758 bytes/sec, 1073.29 docs/sec
skipping non-plain index 'dist1'...
total 12 reads, 0.000 sec, 0.8 kb/call avg, 0.0 msec/call avg
total 36 writes, 0.000 sec, 0.4 kb/call avg, 0.0 msec/call avg

但我仍然无法执行搜索命令来尝试通过终端进行搜索。Sphinx版本是2.2.8,安装自 opensuse-13.2-server-search-repository我做错了什么?谢谢。

最佳答案

搜索工具不再存在。它在几个版本前被删除。

它早已被破坏,并且不是现实的搜索体验。

使用 api 文件夹中的 test.php 等来测试 searchd。

关于search - 无法执行sphinx搜索命令未找到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29422877/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com