当前位置:网站首页>Solr基础操作13
Solr基础操作13
2022-06-29 23:55:00 【franket】
Pivot facets
其实也就是双重分组
facet.pivot=stream_size,title 先根据 stream_size 分组 ,再根据 title 分组
[[email protected] solr-5.3.0]# curl "http://localhost:8983/solr/gettingstarted/select?q=*:*&rows=0&wt=json&indent=on&facet=on&facet.pivot=stream_size,title"
{
"responseHeader":{
"status":0,
"QTime":5265,
"params":{
"facet":"on",
"indent":"on",
"q":"*:*",
"wt":"json",
"facet.pivot":"stream_size,title",
"rows":"0"}},
"response":{"numFound":3772,"start":0,"maxScore":1.0,"docs":[]
},
"facet_counts":{
"facet_queries":{},
"facet_fields":{},
"facet_dates":{},
"facet_ranges":{},
"facet_intervals":{},
"facet_heatmaps":{},
"facet_pivot":{
"stream_size,title":[{
"field":"stream_size",
"value":4812,
"count":22,
"pivot":[{
"field":"title",
"value":"Uses of Class org.apache.solr.cloud.OverseerSolrResponse (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.cloud.SocketProxy.Acceptor (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.core.CorePropertiesLocator (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.core.NIOFSDirectoryFactory (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.handler.DumpRequestHandler (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.handler.PingRequestHandler (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.handler.RealTimeGetHandler (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.response.CSVResponseWriter (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.response.PHPResponseWriter (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.response.RawResponseWriter (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.response.XMLResponseWriter (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.search.DisMaxQParserPlugin (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.search.ExportQParserPlugin (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.search.NestedQParserPlugin (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.search.PrefixQParserPlugin (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.search.ReRankQParserPlugin (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.search.SimpleQParserPlugin (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.search.SolrFieldCacheMBean (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.search.SwitchQParserPlugin (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.servlet.LoadAdminUiServlet (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.util.CryptoKeys.RSAKeyPair (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"Uses of Class org.apache.solr.util.PropertiesInputStream (Solr 5.3.0 API)",
"count":1}]},
...
...
{
"field":"stream_size",
"value":1334,
"count":2,
"pivot":[{
"field":"title",
"value":"org.apache.solr.client.solrj.beans (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"org.apache.solr.search.join (Solr 5.3.0 API)",
"count":1}]},
{
"field":"stream_size",
"value":1377,
"count":2,
"pivot":[{
"field":"title",
"value":"org.apache.solr.handler.loader (Solr 5.3.0 API)",
"count":1},
{
"field":"title",
"value":"org.apache.solr.store.hdfs (Solr 5.3.0 API)",
"count":1}]}]}}}
[[email protected] solr-5.3.0]# 边栏推荐
- AI首席架构师9-胡晓光 《飞桨模型库与行业应用》
- Cacti maximum monitoring number test
- 数莓派 4怎么样?可能的玩法有哪些?
- AI赋能新零售,「智」胜之道在于生态思维|数智夜话直播精选摘录
- @Scheduled annotation pit, I stepped on it for you
- HTAP x cloud native: tidb accelerates the release of data value and realizes data agility
- Teach you step by step to install webwind notes on edge browser
- 招商证券靠谱吗?开股票账户安全吗?
- This simple little function saves 213 hours for our production research team in half a year
- Head on Amway! Good looking and practical motor SolidWorks model material see here
猜你喜欢

MySQL functions and constraints

The concept and significance of mean, variance, standard deviation and covariance

Sword finger offer 13 Range of motion of robot

由GlideException: Failed DecodePath{DirectByteBuffer->GifDrawable->Drawable}引起的刨根问底

【微信小程序】认识小程序项目的基本组成结构

大厂试水 HPE推出Arm CPU通用服务器产品

Buffer flow exercise

New titanium cloud service won the "2022 love analysis · panoramic report of it operation and maintenance manufacturers" cloud management platform CMP representative manufacturer

Machine learning: the concept and application of VC dimension

Basic tutorial for installing monggodb in win10
随机推荐
剑指 Offer 14- I. 剪绳子
视频ToneMapping(HDR转SDR)中的颜色空间转换问题(BT2020转BT709,YCbCr、YUV和RGB)
How to view the CPU cores and threads in win11? Win11 view the tutorial of how many cores and threads the CPU is
solo 博客皮肤导入 skins 文件夹后出现 500 错误
6.29 problem solving
Test d'installation du cluster metaq
Sword finger offer 14- ii Cutting rope II
What is flush software? Is it safe to open an account online?
设置安全组、域名备案、申请ssl证书
Zhongang Mining: Fluorite helps the construction and development of lithium battery in fluorine industry
Xutils3 transfer set
AI empowers new retail, the way to win "wisdom" lies in ecological thinking | selected excerpts from digital intelligence night talk live broadcast
Binary search tree 230 The element with the smallest K in the binary search tree 1038 From binary search tree to larger sum tree
modelsim的TCL脚本的define incdir命令解析
xutils3传集合
打造一个 API 快速开发平台,牛逼!
剑指 Offer 13. 机器人的运动范围
Siemens low code version 9.14: meet different needs
Simple understanding of B tree and b+ tree
Sword finger offer 15 Number of 1 in binary