Solr
来源:互联网 发布:动画视频公司 tvc网络 编辑:程序博客网 时间:2024/06/05 00:08
./bin/solr create -c localDocs -s 2 -rf 2
./bin/post -c localDocs ~/Documents
bin/solr status
./bin/solr start -c -p 8983 -s example/cloud/node1/solr
./bin/solr start -c -p 7574 -s example/cloud/node2/solr -z localhost:9983
bin/post -c localDocs -d "<delete><id>SP2514N</id></delete>"
bin/post -c localDocs -d "<delete><query>*:*</query></delete>"
bin/solr delete -c films
bin/solr healthcheck -c gettingstarted -z localhost:9865
bin/solr stop -all ; rm -Rf example/cloud/
bin/solr version
1、盲搜+排序
q(空格隔开的double)&fl(空格隔开的字段名称)
2、权重+排序
double^1.5
3、区间搜索
q=*:*&fq=ges_ds[0.6 TO 0.9]
阅读全文
0 0
- Solr
- solr
- solr
- solr
- solr
- solr
- Solr
- solr
- solr
- solr
- solr
- Solr
- solr
- Solr
- solr
- solr
- Solr
- solr
- 为什么python设计时要有__init__.py才视为包
- 剑指offer — 和为S的连续正数序列
- ubuntu svn命令简单使用介绍
- BAT机器学习面试1000题系列
- 使用spyder编译器单步调试python(转载配图)(转)
- Solr
- 今日小结
- Redis set 顺序问题记录
- JS调用微软TTS DEMO朗读
- Linux常用命令
- Ubuntu下mysql乱码以及无法插入中文字符
- 8.6函数调用与数组和指针的运用
- 10. 对象初始化
- 巧妙避免倒计时跳转页面时出现的问题