我有个奇怪的问题。我想在我的查询中有一个偏移量,不幸的是,当我超过1000时,它抛出了一个offset out of bounds (offset=2000, max_matches=1000)异常。我在这个例子中使用了LIMIT 2000, 10。
我在配置文件的searchd部分添加了max_matches = 100000并重新启动了服务,不幸的是,这并没有解决这个问题。我不知道为什么会这样。
版本: Sphinx 3.1.1
发布于 2019-01-15 10:50:04
在配置中添加了max_matches的情况下启动Sphinx3.1.1时,您应该看到
key 'max_matches' was permanently removed from Sphinx configuration. Refer to documentation for details.
在Sphinx3中,你应该使用"option max_matches=N“。例如:
select * from idx limit 2000, 10 option max_matches=100000https://stackoverflow.com/questions/54191277
复制相似问题