如何使用带有 Rails 2.3.8 的 sphinx 搜索引擎来增加 mem_limit
我正在使用 Rails 2.3.8 进行 sphinx 搜索,在重建索引时收到以下错误消息
indexing index 'model_core'...
collected 882974 docs, 755.7 MB
collected 959418 attr values
sorted 1.9 Mvalues, 100.0% done
**WARNING: sort_hits: merge_block_size=140 kb too low, increasing mem_limit may improve**
,这是我的配置文件,
sphinx.yml
development:
port: 9316
test:
port: 9314
production:
port: 9312
请帮助我如何在 sphinx.yml 文件中进行配置?
I am using rails 2.3.8 with sphinx search, am getting the following error message while rebuilding the indexes
indexing index 'model_core'...
collected 882974 docs, 755.7 MB
collected 959418 attr values
sorted 1.9 Mvalues, 100.0% done
**WARNING: sort_hits: merge_block_size=140 kb too low, increasing mem_limit may improve**
here is my configuration file,
sphinx.yml
development:
port: 9316
test:
port: 9314
production:
port: 9312
Please help me how to configure in sphinx.yml file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在这里您可以获得有关它的更多信息: http://freelancing-god.github .com/ts/en/advanced_config.html
Here you've got more info about it: http://freelancing-god.github.com/ts/en/advanced_config.html