sphinxsearch postgres sphinx_select 禁用匹配部分

sphinxsearch postgres sphinx_select disable match section

我将 sphinx 用于 postgres 并且 运行 这个查询

SELECT id,weight FROM sphinx_select('sessionsearchsphinxidx','someword','', '', 0,50000,'ranker=wordcount')  

我想在未定义搜索查询的情况下使用此方法。所以换句话说,我想 return 所有记录都没有任何过滤器。可能吗?

您是否尝试过将查询留空,即第二个参数。

当然,权重将毫无意义,因为没有匹配的查询,但除此之外应该可以。