ThinkChat3.0新版上线,打造企业超级智能体和OPC神器,直接交付工作成果而非仅仅是给出答案,送30W Token,即刻开启你的AI之旅 广告
【开启elasticsearch服务器】: 在所在位置,如`C:\wamp64\www\laravel\laravel54\000\elasticsearch-rtf-master\bin`,开启elasticsearch服务器: `elasticsearch -d` 【创建自定义命令行】: `php artisan make:command ESInit` 【导入数据】: `php artisan scout:import "\App\Post"` 【实现搜索功能】 需要同时开启laravel和elasticsearch的运行命令 `php artisan serve` 和 `elasticsearch -d` 【Ubuntu 14.04安装Elasticsearch】 https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-elasticsearch-on-ubuntu-14-04