Solr文档学习--Using the Solr Administration User Interface(续)
来源:互联网 发布:淘宝卖家钱款在哪看 编辑:程序博客网 时间:2024/05/17 06:28
上一篇solr主要介绍了如何在控制台和命令行创建集合(Core/Collections),今天继续solr
Solr文档学习–Using the Solr Administration User Interface
首先启动solr
启动之后就可以看到上次创建的两个集合了(这次主要的操作mycollections)
在集合下面有很多的面板
我主要介绍一下Analysis,Documents和Query的使用,
Analysis
The Analysis screen lets you inspect how data will be handled according to the field, field type and dynamic field configurations found in your Schema. You can analyze how content would be handled during indexing or during query processing and view the results separately or at the same time. Ideally, you would want content to be handled consistently, and this screen allows you to validate the settings in the field type or field analysis chains.
这个是用来分词的。
默认没有中文分词
配置中文分词
参考Solr6.1配置中文分词
配置好并reload
Documents
The Documents screen provides a simple form allowing you to execute various Solr indexing commands in a variety of formats directly from the browser.
这个视图下我们可以建立索引
我们先在Query里查询一下
发现现在是没有任何数据的。我们开始建立索引
建立一个如下的索引
{id:123456,info:"我爱北京天安门"}
返回结果
再去Query查询一下
已经可以查到刚才建立的索引了
Query
You can use the screen to submit a search query to a Solr collection and analyze the results. In the example in the creenshot, a query has been submitted, and the screen shows the query results sent to the browser as JSON.
主要就是查询,可以设置很多参数。
各个参数的含义
具体的含义就不多解释了。
后面再写通过java客户端实现对solr的增删改查。
参考文献
Solr官方文档
- Solr文档学习--Using the Solr Administration User Interface
- Solr文档学习--Using the Solr Administration User Interface(续)
- Solr Indexing(solr 官方文档)
- Solr文档学习--Getting Started
- solr(二)Using SolrJ
- Testing the User Interface - Using DotNetMock
- Securing Solr on Tomcat access using a user account
- Solr 6.0 学习(六)solr集群
- Solr 6.0 学习(五)solr集群
- Solr学习总结(一)Solr介绍
- Solr 6.0 学习(十三)Solr缓存
- Solr 6.0 学习(十四)Solr RequstHandler
- Solr 6.0 学习(十五)Solr SearchComponent
- Solr学习总结(三)solr查询
- solr 学习(2)
- Solr学习(一)
- Solr学习笔记四--solrj的使用(更新文档)
- Solr学习笔记五--solrj的使用(查询文档)
- Java NIO:NIO概述
- Struts2开发配置中{1}.jsp错误
- JavaSE_07集合
- OpenBlas, Neon & VFP
- android问题点
- Solr文档学习--Using the Solr Administration User Interface(续)
- Yii2.0 多域名跨域同步登录退出
- android 自定义View 三 ---- LayoutInflater
- Navigation Drawer Activity设置头像
- JavaSE_08新特性
- Tomcat问题
- Java中equals和==的区别
- JavaSE_09IO
- 完整编译Hi3519V101_SDK_V1.0.1.0遇到的问题及处理方法