Solr Cookbook学习记录 - Facet学习
来源:互联网 发布:查看linux网络地址 编辑:程序博客网 时间:2024/05/22 06:54
facet查询语句格式:f.<FieldName>.<FacetParam>=<value>f.xxx.xxx=xxxfacet.limit=10facet.category.facet.limit=5可以覆盖上面定义的10条记录----------------------------------------------------------------------------------------------------------------------------Facet参数http://172.16.1.79:8983/solr/core0/select?q=牛奶&facet=true&facet.query=牛奶&facet.field=cname3&facet.mincount=1facet.fieldfacet.prefixfacet.sort 默认按数量排序facet.limitfacet.offsetfacet.mincountfacet.method 取值为enum或fc,默认为fc,表示两种Facet算法。facet.missing 默认为"",如果设置为true或on,将统计Facet字段值为null的记录。facet.enum.cache.minDf Date Facet 时间段分组facet.datefacet.date.start 2013-01-01T00:00:00Zfacet.date.end 2013-12-31T23:59:59Zfacet.date.gap 时间间隔,设置为+1MONTH表示间隔1个月,分成12个间隔短。facet.date.hardend start:2012-1-1, end:2012-12-20, gap为1年, 设置为true,结束日期为2013-1-1,设置为false,结束日期为2012-12-20。facet.date.otherfacet.date.include举例:&facet=on&facet.date=date&facet.date.start=2009-1-1T0:0:0Z&facet.date.end=2010-1-1T0:0:0Z&facet.date.gap=%2B1MONTH&facet.date.other=all----------------------------------------------------------------------------------------------------------------------------Facet by Rangefacet.rangefacet.range.startfacet.range.endfacet.range.gapfacet.range.hardendfacet.range.otherfacet.range.include----------------------------------------------------------------------------------------------------------------------------echoHandler参数qt 默认的SolrRequestHandler是/selectwt writer type,默认是xmlNOWTZ----------------------------------------------------------------------------------------------------------------------------q sort 默认score desc,多个排序以逗号分隔(inStock desc, price asc)start 默认0rows 默认10fq Filter Query,fq=price:[10 TO *]&fq=stock:0 等于 fq=+price[10 TO *] +stock:0fl 默认*,空格或逗号分隔。id name,price id,name,pricetimeAllowed----------------------------------------------------------------------------------------------------------------------------Transformers参数[docid] the lucene document id(int)[shard] the id of the shard that produced the result[explain] inline explain info[explain style=nl|text|html] explain info with explicit style[value v=? t=int|double|float|date] explicit value----------------------------------------------------------------------------------------------------------------------------Field别名id,price:crazy_price_field 返回crazy_price_field,按price值显示。id,price:sum(a,b) 返回price,按a+b显示。fl=my_alias:field_name return field_name but display it as my_alias----------------------------------------------------------------------------------------------------------------------------
0 0
- Solr Cookbook学习记录 - Facet学习
- Solr Cookbook学习记录 - 第一章Solr配置
- Solr Cookbook学习记录 - Highlighting学习
- Solr Cookbook学习记录 - MoreLikeThis学习
- Solr Cookbook学习记录 - 第五章 Faceting
- Solr学习总结-Facet
- Solr学习总结-Facet
- Solr学习总结-Facet
- Solr学习-Facet
- Solr Cookbook学习记录 - 第二章indexing your data
- Solr Cookbook学习记录 - 第6,8,9章
- Solr学习之—:solr facet
- Solr 学习(7) —- Solr Facet(转载)
- Solr 学习(7) —- Solr Facet(转载)
- Solr的学习使用之(七)Solr高级查询facet、facet.pivot简介 - OnTheRoad_Lee
- solr学习记录
- solr学习记录
- solr学习记录1
- linux字符驱动之定时器去抖动按键驱动
- 关于将EXCEL文件导入到MYSQL数据库的一些方法
- MQTT的学习研究(2)moquette-mqtt 的使用之mqtt broker的启动
- 机器学习算法与Python实践之(五)k均值聚类(k-means)
- APACHE 安装
- Solr Cookbook学习记录 - Facet学习
- linux的eclipse下配置javah
- oc学习之旅:KVO
- 第十七周上机实践项目——委派任务
- ajax打开新窗口实现
- 深入理解java:注解(annotation)的基本概念
- MQTT的学习研究(4)moquette-mqtt 的使用之mqtt Blocking API客户端订阅并接收主题信息
- Solr Cookbook学习记录 - Highlighting学习
- 微信公众平台开发(十) 消息回复总结