Apache Cassandra (三)solr 的使用
来源:互联网 发布:淘宝买小米平板 编辑:程序博客网 时间:2024/06/06 09:47
检查cassandra运行状态
- check cassandra run status by below command :
$ nodetool status
check the “UN” status ,or there are some problem on it;
Check nodetool tpstats then check blocked is all “0”;
$ nodetool tpstats
添加solor
create table and insert one record ;
run below command and add solr .
$ dsetool create_core keyspace_name.table_name generateResources=true
- Confirm to check below message.
You requested the core to be created with reindex=false. Preexisting data will not be searchable via DSE
- Open url http://...:8983/solr/ , Click on Core Admin.
- Check respected table name. and Click Reindex - Click OK.
Go back to cqlsh and check desc command for respected table.
cqlsh:keyspace_name> desc table table_name;
Check solr_query text is added or not .
修改带有solor的table
- remove solr by below command first in a new command:
$ dsetool unload_core keyspace_name.table_name ;
- Check solr_query text is remove or not .
- update table
- add solr refer to the previous steps
阅读全文
0 0
- Apache Cassandra (三)solr 的使用
- Apache Cassandra 的安装及使用 (一)
- Apache Cassandra 的安装及使用 (二)
- Apache Cassandra (四):使用php-cassandra进行分页查询,
- Cassandra经常被问到的问题(三)
- Apache Solr初体验三
- 【Apache Solr系列之三】Solr客户端SolrJ API使用文档-增删改
- cassandra的简单使用
- cassandra 数据库的使用
- Solr使用入门指南 (三)
- Apache Tiles 学习(三)、Apache Tiles的基本使用
- Apache Tiles 学习(三)、Apache Tiles的基本使用
- apache solr 搜索引擎使用笔记
- Apache Solr单机环境配置(包括中文分词和Java API的使用)
- 使用 Apache Solr 实现更加灵巧的搜索
- 使用 Apache Solr 实现更加灵巧的搜索,第 2 部分: 用于企业的 Solr
- 详解NoSQL数据库Apache Cassandra的配置
- datastax的C# Driver for Apache Cassandra
- C++11 随机数学习
- UNIX网络编程1:传输层协议TCP、UDP、SCTP
- python和anaconda
- KMP Tavas and Malekas:CodeForces 535D
- 为android编写linux内核驱动
- Apache Cassandra (三)solr 的使用
- for和foreach那个效率更高?原因是什么?
- 数据库中Schema和Database有什么区别
- obc学习笔记6
- 第三篇 流程控制
- 001_JS中slice,splice,split的区别
- Linux学习第十篇--修改文件的时间
- 组播及igmp协议详解
- 【linux】 vmware安装无法打开内核设备 \\.\Global\vmx86: 系统找不到指定的文件