如何用dbvis查看solrcloud数据
来源:互联网 发布:梦幻西游鼠标偏移源码 编辑:程序博客网 时间:2024/04/28 10:20
引自:https://cwiki.apache.org/confluence/display/solr/Solr+JDBC+-+DbVisualizer
For DbVisualizer, you will need to create a new driver for Solr using the DbVisualizer Driver Manager. This will add several SolrJ client .jars to the DbVisualizer classpath. The files required are:
在DbVisualizer中,你只需要在DbVisualizer的驱动管理器中增加一个新的Solr驱动即可,也就是说将SolrJ的客户端jar包添加到DbVisualizer的类路径中。需要添加的类文件如下:
- all .jars found in
$SOLR_HOME/dist/solrj-lib
- the SolrJ .jar found at
$SOLR_HOME/dist/solr-solrj-<version>.jar
Once the driver has been created, you can create a connection to Solr with the connection string format outlined in the generic section and use the SQL Commander to issue queries.
Setup Driver
Open Driver Manager
From the Tools menu, choose Driver Manager to add a driver.
Create a New Driver
Name the Driver
Provide a name for the driver, and provide the URL format: jdbc:solr://<zk_connection_string>/?collection=<collection>
. Do not fill in values for the variables "zk_connection_string
" and "collection
", those will be provided later when the connection to Solr is configured. The Driver Class will also be automatically added when the driver .jars are added.
Add Driver Files to Classpath
The driver files to be added are:
- all .jars in
$SOLR_HOME/dist/solrj-lib
- the SolrJ .jar found in
$SOLR_HOME/dist/solr-solrj-<version>.jar
Review and Close Driver Manager
Once the driver files have been added, you can close the Driver Manager.
Create a Connection
Next, create a connection to Solr using the driver just created.
Use the Connection Wizard
Name the Connection
Select the Solr driver
Specify the Solr URL
Provide the Solr URL, using the ZooKeeper host and port and the collection. For example,jdbc:solr://localhost:9983?collection=test
Open and Connect to Solr
Once the connection has been created, double-click on it to open the connection details screen and connect to Solr.
Open SQL Commander to Enter Queries
When the connection is established, you can use the SQL Commander to issue queries and view data.
- 如何用dbvis查看solrcloud数据
- 如何用chrome查看提交的post表单数据
- 如何用大数据炒股
- 如何用linux查看系统信息命令
- 如何用VS2010查看汇编代码
- 如何用eclipse查看android 源码
- 如何用地址栏查看网页的源代码
- 如何用eclipse查看jar文件源码
- 如何用rpm查看package的架构
- 如何用adb查看android终端分辨率?
- 如何用Eclipse查看Hadoop源码
- 如何用source Insight查看.s文件
- 如何用DOS命令查看电脑内存
- 如何用C++ Builder存取Excel数据
- 如何用SQL数据支持XML
- 如何用load data infile导入数据
- 如何用XML实现高效管理数据
- 如何用vb向网页发送数据
- Json
- redis分布式锁
- ClearEditText,删除按钮的引用
- android 调试启动错误Error type 3
- vector多维数组及初始化
- 如何用dbvis查看solrcloud数据
- Java中日期的几种常见操作 —— 取值、转换、加减、比较
- 电脑启动快捷键一览表
- 给定一个 ArrayList<Integer>的一个对象,实现在这个集合中添加一个字符串
- 旋转卡壳算法
- 【分治策略】归并排序算法总结
- Android中ListView通用adapter的实现
- usb摄像头---实时视频---等间隔时间提取图片
- PAT(B)1017. A除以B (20)