当前位置:网站首页>Solr基础操作8
Solr基础操作8
2022-06-29 23:56:00 【franket】
限定输出
通过 “numFound”:3608 我们知道一共有 3608 个结果,我们可以通过参数限定输出,默认情况下影响输出的参数是以下默认值
Parameter | Value |
|---|---|
start | 0 |
rows | 10 |
fl | *:* |
我们修改一下以它们的值
q=foundation 搜索关键字 foundation
fl=id 只返回 id
start=30 开始为第 30 条
rows=5 只返回 5 条
[[email protected] solr-5.3.0]# curl "http://localhost:8983/solr/gettingstarted/select?wt=json&indent=true&q=foundation&fl=id&start=30&rows=5"
{
"responseHeader":{
"status":0,
"QTime":19,
"params":{
"fl":"id",
"indent":"true",
"start":"30",
"q":"foundation",
"wt":"json",
"rows":"5"}},
"response":{"numFound":3608,"start":30,"maxScore":0.05791749,"docs":[
{
"id":"/data/solr/solr-5.3.0/docs/solr-uima/deprecated-list.html"},
{
"id":"/data/solr/solr-5.3.0/docs/solr-analysis-extras/constant-values.html"},
{
"id":"/data/solr/solr-5.3.0/docs/solr-analysis-extras/deprecated-list.html"},
{
"id":"/data/solr/solr-5.3.0/docs/solr-clustering/org/apache/solr/handler/clustering/carrot2/class-use/LuceneCarrot2StemmerFactory.html"},
{
"id":"/data/solr/solr-5.3.0/docs/solr-clustering/org/apache/solr/handler/clustering/carrot2/class-use/LuceneCarrot2TokenizerFactory.html"}]
}}
[[email protected] solr-5.3.0]# 边栏推荐
- Web APIs 环境对象 丨黑马程序员
- 这个简单的小功能,半年为我们产研团队省下213个小时
- Siemens low code version 9.14: meet different needs
- Solr基础操作13
- Cartoon security HIDS, EDR, NDR, XDR
- Applet plug-in access, development and precautions
- shell-位置参数变量和预定义变量
- Set up security groups, record domain names, and apply for SSL certificates
- 网上开户选哪个证券公司?还有,在线开户安全么?
- Serialization of binary tree 297 Serialization and deserialization of binary tree 652 Find duplicate subtrees
猜你喜欢

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

6.29日刷题题解

QT learning 03 birth and essence of QT

开始“收割”!钉钉调整“钉钉Teambition”免费用人数上限,超十人将无法正常用

Andorid source build/envsetup.sh 该知道的细节

ThinkPad VMware installation virtual machine: this host supports Intel VT-x, but Intel VT-x is disabled (problem resolution)
solo 博客皮肤导入 skins 文件夹后出现 500 错误

數莓派 4怎麼樣?可能的玩法有哪些?

QT learning 02 GUI program example analysis

Start harvesting! Nailing: adjust the maximum number of free users of "nailing team". If the number exceeds 10, it will not work normally
随机推荐
【一起上水硕系列】Day 8
Implementation of aut, a self-developed transport layer protocol for sound network -- dev for dev column
打造一个 API 快速开发平台,牛逼!
Analysis of common vlog parameters
Construction of module 5 of actual combat Battalion
vlog常用参数解析
QPainter的使用入门:绘制象棋界面
如何实现搜索引擎中的拼写纠错功能——思路
gyctf_2020_document
Exploration and Practice on the future direction of byte cloud database
How about counting Berry Pie 4? What are the possible ways to play?
DOM 知识点总结
JVM之栈空间
Use of jetpack's room in combination with flow
Create an API rapid development platform, awesome!
Koa2 learning and using
[LeetCode] 只出现一次的数字【136】
Virtual machine online migration based on openstack
西门子低代码 9.14版本: 满足不同需求
How to view the CPU cores and threads in win11? Win11 view the tutorial of how many cores and threads the CPU is