1, install solr 7.5
docker solr official website: https://hub.docker.com/_/solr/
2, start the service solr
2.1 Creating a library solr
Creating / var / solr / data / gettingstarted a database repository directory generated named gettingstarted in.
Create other ways solr library, execute the following command, there are other inquiries please go to the official website.
Superuser enter docker
3, equipped with IK tokenizer
The resource is downloaded to the beginning of the article or click the link below https://download.csdn.net/download/huyande123/11423827
After you configure the restart solr into its UI can be seen Ik word breaker.
Install vim command to edit the file in the docker container