博客
关于我
solr(二)windows安装及运行solr
阅读量:387 次
发布时间:2019-03-05

本文共 428 字,大约阅读时间需要 1 分钟。

安装Solr的过程虽然顺利,但也遇到了一些需要注意的地方。首先,我发现虽然Solr要求Java 1.8及以上版本,但我选择了Java 13.0.2,结果却报错说不支持。这让我感到有些困惑,因为13.0.2确实是1.8之后的版本。后来,我意识到可能是因为某些依赖库在低版本Java中更为稳定,因此决定回滚到Java 8来测试。

下载并安装了Java 8后,按照文档中的指引配置了环境变量。运行Solr时,这次没有再遇到错误提示,服务顺利启动。为了确保一切正常,我在命令行输入了“solr start -p 8984”,然后在浏览器中访问http://localhost:8984,页面成功加载。通过这个过程,我明白了即使是高版本的Java,也有可能因为兼容性问题而需要使用低版本。

接下来,我计划学习Solr的基本操作命令,如创建索引和添加文档,以进一步提升搜索引擎优化技能。这次经历提醒我,在选择软件版本时,需要仔细查看官方文档,不可仅凭版本号判断兼容性。

转载地址:http://klhwz.baihongyu.com/

你可能感兴趣的文章
NN&DL4.3 Getting your matrix dimensions right
查看>>
NN&DL4.7 Parameters vs Hyperparameters
查看>>
NN&DL4.8 What does this have to do with the brain?
查看>>
nnU-Net 终极指南
查看>>
No 'Access-Control-Allow-Origin' header is present on the requested resource.
查看>>
NO 157 去掉禅道访问地址中的zentao
查看>>
no available service ‘default‘ found, please make sure registry config corre seata
查看>>
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
查看>>
no connection could be made because the target machine actively refused it.问题解决
查看>>
No Datastore Session bound to thread, and configuration does not allow creation of non-transactional
查看>>
No fallbackFactory instance of type class com.ruoyi---SpringCloud Alibaba_若依微服务框架改造---工作笔记005
查看>>
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalanc
查看>>
No mapping found for HTTP request with URI [/...] in DispatcherServlet with name ...的解决方法
查看>>
No mapping found for HTTP request with URI [/logout.do] in DispatcherServlet with name 'springmvc'
查看>>
No module named 'crispy_forms'等使用pycharm开发
查看>>
No module named cv2
查看>>
No module named tensorboard.main在安装tensorboardX的时候遇到的问题
查看>>
No module named ‘MySQLdb‘错误解决No module named ‘MySQLdb‘错误解决
查看>>
No new migrations found. Your system is up-to-date.
查看>>
No qualifying bean of type XXX found for dependency XXX.
查看>>