solr官方文档学习
| ||||||||||||||||||||||||||||||
Dataimport Screen
这部分能配置简单的数据全量导入,但是需要进行DIH的配置(数据导入梳理器) 具体需要看这部分:Uploading Structured Data Store Data with the Data Import Handler.
| ||||||||||||||||||||||||||||||
Documents Screen
主要是两个处理器和集中文件格式的操作:
默认是updateRequestHandler 还有个可以在solrconfig.xml中定义ExtractingRequestHandler
主要的操作格式是 json xml cvs 及文件上传
可以设置是否覆盖,能够保留相同ID的历史版本信息
Related Topics
Uploading Data with Index Handlers Uploading Data with Solr Cell using Apache Tika | ||||||||||||||||||||||||||||||
solr.cmd -e cloud -noprompt 创建一个集群实例
| ||||||||||||||||||||||||||||||
Files
Screen
这部分能查看到该集合的具体文件配置的相关信息,仅仅只能查看,不能进行编辑操作 再具体的内容需要看一下部分;
Indexing and Basic Data Operations
Searching The Well-Configured Solr Instance Documents, Fields, and Schema Design | ||||||||||||||||||||||||||||||
Query Screen
这部分你能定义查询参数,通过http请求发送查询请求,获取查询结果.
返回的结果包含两部分内容:reponseHeader和response.
reponseHeader包含查询状态(status),过程时间(QTime)和请求参数(params).
response部分包含了根据查询条件匹配到的文档,其中文档中显示的字段和文档数量,根据你
设置的查询条件来确定.
该页面的基本查询参数见下表:
Field Description
Related Topics
Searching | ||||||||||||||||||||||||||||||
Schema Browser Screen
这部分现在可以进行字段的添加和删除操作了 还能查看具体的字段,类型的信息,分词器等
Load Term Info
这部分的信息统计不做的抽样.如果要看整个collection的还要去查询整个collection的才行. Field Facet
| ||||||||||||||||||||||||||||||
Core-Specific Tools
这部分是单机的core操作了. 这个屏幕可能太下面了. 可以根据名称搜索到制定的core. 你可以自定义一个admin-extra.html页面 将会将信息展示在admin extra下面
| ||||||||||||||||||||||||||||||
Ping
The search executed by a Ping is configured using a requestHandler in the solrconfig.xml file: <!-- ping/healthcheck --> <requestHandler name="/admin/ping" class="solr.PingRequestHandler"> <lst name="invariants"> <str name="q">solrpingquery</str> </lst> <lst name="defaults"> <str name="echoParams">all</str> </lst> <!-- An optional feature of the PingRequestHandler is to configure the handler with a "healthcheckFile" which can be used to enable/disable the PingRequestHandler. relative paths are resolved against the data dir --> <!-- <str name="healthcheckFile">server-enabled.txt</str> --> </requestHandler> 可以通过Http请求的方式来ping一个分布式的集合: http://localhost:8983/solr/<collection-name>admin/ping?wt=json&distrib=true&indent=t
rue 对于使用java可以使用如下方式: SolrPing ping = new SolrPing();
ping.getParams().add("distrib", "true"); //To make it a distributed request against a collection rsp = ping.process(solrClient, collectionName); int status = rsp.getStatus(); | ||||||||||||||||||||||||||||||
Plugins & Stats Screen
显示组件和状态的快照信息 | ||||||||||||||||||||||||||||||
Replication Screen
Caution When Using SolrCloud When using SolrCloud, do not attempt to disable replication via this screen. 详细信息可看: Index
Replication
| ||||||||||||||||||||||||||||||
Segments Info
这部分能看到lucene底层索引的存储情况及删除情况 可以根据参考着进行merge settings 操作.
| ||||||||||||||||||||||||||||||
这里第一部分的Solr UI 介绍就结束了. 其实也没有多少东西. 都在后面呢
|
Solr入门之官方文档6.0阅读笔记系列(二)
最新推荐文章于 2023-03-06 14:52:12 发布