gpt4 book ai didi

php - 如何自动同步Mysql中的数据到Sphinx

转载 作者:行者123 更新时间:2023-11-29 08:01:50 26 4
gpt4 key购买 nike

MySQL新增数据时如何自动同步Sphinx数据与MySQL

有人建议我使用 PHP 来使用 Sphinxql

最佳答案

您必须使用RT-indexes 。例如,当您向数据库添加新记录时,您必须立即向 sphinx RT-index 添加相同的记录。

关于php - 如何自动同步Mysql中的数据到Sphinx,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23629761/

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