#!/usr/bin/expect
set timeout 30
spawn solr start -e cloud -force
expect "*1-4"
send "\r"
expect "*8983"
send "\r"
expect "*7574"
send "\r"
expect "*gettingstarted"
send "\r"
expect "*split"
send "\r"
expect "*replicas"
send "\r"
expect "*_default"
send "\r"
02-25
1087
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)