分布式远程索引上的 Sphinx sql_query_killlist
Sphinx sql_query_killlist on a distributed remote index
sphinx documentation 表示 sql_query_killlist
可以与分布式远程索引一起使用:
Note that in the distributed index setup, K-lists are local to every node in the cluster. They are not get transmitted over the network when sending queries. (Because that might be too much of an impact when the K-list is huge.) You will need to setup a separate per-server K-lists in that case.
我可以 sql_query_killlist
使用分布式 "local" 索引,如下所示:
index mydistributedindex
{
type = distributed
local = main_index
local = delta_index
}
sql_query_killlist
位于 delta_index
的源上,并且有效。
我试图更改上面的 mydistributedindex
,将这些全部设置为 "remote agents" 指向本地主机。查询仍然有效,但 sql_query_killlist
不再有效:
index mydistributedindex
{
type = distributed
agent = localhost:9312:main_index
agent = localhost:9312:delta_index
}
如果我希望 mydistributedindex
跨多个远程代理,我找不到 sql_query_killlist
将按照上面引用的文档工作的示例?
如图所示here by barryhunter这将起作用:
index mydistributedindex
{
type = distributed
agent = localhost:9312:server1index
}
index server1index
{
type = distributed
local = main_index
local = delta_index
}
sphinx documentation 表示 sql_query_killlist
可以与分布式远程索引一起使用:
Note that in the distributed index setup, K-lists are local to every node in the cluster. They are not get transmitted over the network when sending queries. (Because that might be too much of an impact when the K-list is huge.) You will need to setup a separate per-server K-lists in that case.
我可以 sql_query_killlist
使用分布式 "local" 索引,如下所示:
index mydistributedindex
{
type = distributed
local = main_index
local = delta_index
}
sql_query_killlist
位于 delta_index
的源上,并且有效。
我试图更改上面的 mydistributedindex
,将这些全部设置为 "remote agents" 指向本地主机。查询仍然有效,但 sql_query_killlist
不再有效:
index mydistributedindex
{
type = distributed
agent = localhost:9312:main_index
agent = localhost:9312:delta_index
}
如果我希望 mydistributedindex
跨多个远程代理,我找不到 sql_query_killlist
将按照上面引用的文档工作的示例?
如图所示here by barryhunter这将起作用:
index mydistributedindex
{
type = distributed
agent = localhost:9312:server1index
}
index server1index
{
type = distributed
local = main_index
local = delta_index
}