download and install Solr from http://lucene.apache.org/solr/.
you can access Solr admin from your browser: http://localhost:8983/solr/
use the port number used in installation.
| <?php | |
| // 一个一致性hash实现 http://github.com/pda/flexihash | |
| require '/path/to/flexihash/include/init.php'; | |
| require '/path/to/lysine/loader.php'; | |
| // user和topic数据垂直切分 | |
| // user数据放在mysql数据库 | |
| // topic数据放在postgresql数据库 | |
| // topic数据水平切分,分区到3台服务器上 | |
| $config = array( |
| Connect to Google Home |
download and install Solr from http://lucene.apache.org/solr/.
you can access Solr admin from your browser: http://localhost:8983/solr/
use the port number used in installation.
| <?php | |
| declare(strict_types=1); | |
| /** | |
| * 使用方式: | |
| * 1. 把文件放置到项目的 bin 目录中,更名为 dev.php | |
| * 2. 开发中启动项目时,使用 dev.php 进行启动,而不是使用 hyperf.php 进行启动 | |
| */ |
| <?php | |
| class FOO { | |
| public $f; | |
| } | |
| class BAR { | |
| public $f; | |
| } | |
$ text-builder -index /path/to/index.txt
Or run $ sh build-all to build all your index files.本人不提供任何保证和技术支持,使用者自负风险。
There are no guarantees, no any support. Use it at your own risk.