当前位置:网站首页>Solr基础操作12
Solr基础操作12
2022-06-29 23:55:00 【franket】
Range facets
可以使用区间来进一步分组
facet=true 打开 facet
facet.range=stream_size 以stream_size的分布来分组
f.stream_size.facet.range.start=0 从0开始
f.stream_size.facet.range.end=9000 9000为上限
f.stream_size.facet.range.gap=1000 步进为1000
facet.range.other=after 其它的排最后
[[email protected] solr-5.3.0]# curl "http://192.168.100.102:7574/solr/gettingstarted_shard1_replica1/select?q=*%3A*&wt=json&indent=true&rows=0&facet=true&facet.range=stream_size&f.stream_size.facet.range.start=0&&f.stream_size.facet.range.end=9000&f.stream_size.facet.range.gap=1000&facet.range.other=after"
{
"responseHeader":{
"status":0,
"QTime":41,
"params":{
"facet.range.other":"after",
"f.stream_size.facet.range.start":"0",
"facet":"true",
"f.stream_size.facet.range.gap":"1000",
"f.stream_size.facet.range.end":"9000",
"indent":"true",
"q":"*:*",
"facet.range":"stream_size",
"wt":"json",
"rows":"0"}},
"response":{"numFound":3772,"start":0,"maxScore":1.0,"docs":[]
},
"facet_counts":{
"facet_queries":{},
"facet_fields":{},
"facet_dates":{},
"facet_ranges":{
"stream_size":{
"counts":[
"0",16,
"1000",61,
"2000",42,
"3000",12,
"4000",591,
"5000",324,
"6000",107,
"7000",265,
"8000",223],
"gap":1000,
"after":2131,
"start":0,
"end":9000}},
"facet_intervals":{},
"facet_heatmaps":{}}}
[[email protected] solr-5.3.0]#边栏推荐
- HPE launched ARM CPU general server product
- Matplotlib plt Hist() parameter explanation
- On binary tree
- [wechat applet] understand the basic composition of the applet project
- 漫画安全HIDS、EDR、NDR、XDR
- Set up security groups, record domain names, and apply for SSL certificates
- DOM 知识点总结
- After working in the software development industry for six years, I changed my ideas in those years
- 手机开户一般哪个证券公司好?另外,手机开户安全么?
- 剑指 Offer 14- II. 剪绳子 II
猜你喜欢

About mongodb error: connecting to: mongodb://127.0.0.1:27017/?compressors=disabled &gssapiServiceName=mongodb

matlab习题 —— 程序控制流程练习

JVM之栈空间

Overseas digital authentication service provider advance AI was selected into the "2022 brand sea Service Market Research Report" of equalocean

Construction of module 5 of actual combat Battalion

QT learning 01 GUI program principle analysis

爬虫入门实战:斗鱼弹幕数据抓取,附送11节入门笔记

西门子低代码 9.14版本: 满足不同需求

漫画安全HIDS、EDR、NDR、XDR

Why is JSX syntax so popular?
随机推荐
Simple understanding of B tree and b+ tree
Solr basic operation 2
Golang泛型的巧妙应用,防止变量空指针错误,防止结构体字段空指针错误
solo 博客皮肤导入 skins 文件夹后出现 500 错误
Buffer flow exercise
【一起上水硕系列】Day 8
简单理解B树和B+树
由GlideException: Failed DecodePath{DirectByteBuffer->GifDrawable->Drawable}引起的刨根问底
@Scheduled注解的坑,我替你踩了
Leetcode (633) -- sum of squares
Is China Merchants Securities reliable? Is it safe to open a stock account?
Set up enterprise NTP time server
除子
手机开户一般哪个证券公司好?另外,手机开户安全么?
Bee常用配置
Matlab exercises -- program control process exercise
如何实现搜索引擎中的拼写纠错功能——思路
基于zfoo开发项目的一些规范
Use of jetpack's room in combination with flow
Digital collection of cultural relics, opening a new way of cultural inheritance