检索Solr查询中的特定字段? [英] Retrieving specific fields in a Solr query?

查看:394
本文介绍了检索Solr查询中的特定字段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Jetty上运行Solr实例,当我使用Solr管理面板进行搜索时,它将返回整个文档.我应该怎么做才能从搜索返回的每个Solr文档中仅获取指定的字段?

I am running a Solr instance on Jetty and when I search using the Solr admin panel, it returns the entire document. What should I do to get only specified fields from each Solr document returned by the search?

推荐答案

/?q=query&fl=field1,field2,field3

这篇关于检索Solr查询中的特定字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆