windows临时安装solr
下载地址
https://dlcdn.apache.org/lucene/solr/8.11.4/solr-8.11.4.zip
jdk1.8
解压,进入bin目录,打开cmd,执行这个命令就启动好了
.\solr.cmd start
PS D:\xxxxx\solr-8.11.4\bin> .\solr.cmd start
Java HotSpot(TM) 64-Bit Server VM warning: JVM cannot use large page memory because it does not have enough privilege to lock pages in memory.
Waiting up to 30 to see Solr running on port 8983
Started Solr server on port 8983. Happy searching!
PS D:\xxxxx\solr-8.11.4\bin>
接着可以创建测试核心test_index,执行如下cmd
.\solr create -c test_index
PS D:\WorkTool\solr-8.11.4\bin> .\solr create -c test_index
WARNING: Using _default configset with data driven schema functionality. NOT RECOMMENDED for production use.
To turn off: bin\solr config -c test_index -p 8983 -action set-user-property -property update.autoCreateFields -value false
Created new core 'test_index'
PS D:\WorkTool\solr-8.11.4\bin>