You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ep...@apache.org on 2022/05/06 17:07:12 UTC
[solr] branch branch_9x updated: SOLR-16179 : Updated the documentation as reported in the ticket , along with the examples (#835)
This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 35980d5f410 SOLR-16179 : Updated the documentation as reported in the ticket , along with the examples (#835)
35980d5f410 is described below
commit 35980d5f410a0e94bbeb8cd6fffb7f2fbc49a17e
Author: Atita Arora <at...@users.noreply.github.com>
AuthorDate: Fri May 6 11:47:31 2022 -0400
SOLR-16179 : Updated the documentation as reported in the ticket , along with the examples (#835)
(cherry picked from commit 174ceb0a94202e40c57781a9937c13bcfb3b6290)
---
.../modules/query-guide/pages/terms-component.adoc | 24 ++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/solr/solr-ref-guide/modules/query-guide/pages/terms-component.adoc b/solr/solr-ref-guide/modules/query-guide/pages/terms-component.adoc
index f69cb0251cc..1a8f51ba395 100644
--- a/solr/solr-ref-guide/modules/query-guide/pages/terms-component.adoc
+++ b/solr/solr-ref-guide/modules/query-guide/pages/terms-component.adoc
@@ -68,8 +68,32 @@ s|Required |Default: none
+
Specifies the field from which to retrieve terms.
This parameter is required if `terms=true`.
+This parameter can be specified multiple times to retrieve terms for different fields.
+
Example: `terms.fl=title`
++
+Example: `terms.fl=title&terms=true&terms.fl=name&terms.list=cable,sony`
+
+[source,xml]
+----
+<response>
+ <lst name="responseHeader">
+ <bool name="zkConnected">true</bool>
+ <int name="status">0</int>
+ <int name="QTime">4</int>
+ </lst>
+ <lst name="terms">
+ <lst name="name">
+ <int name="cable">8661</int>
+ <int name="sony">21</int>
+ </lst>
+ <lst name="title">
+ <int name="cable">11387</int>
+ <int name="sony">3921</int>
+ </lst>
+ </lst>
+</response>
+----
`terms.list`::
+