risdenk commented on code in PR #835:
URL: https://github.com/apache/solr/pull/835#discussion_r865313326


##########
solr/solr-ref-guide/modules/query-guide/pages/terms-component.adoc:
##########
@@ -68,8 +68,57 @@ 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`
++
+XML:
++
+[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>

Review Comment:
   these 2 lines should be indented?



##########
solr/solr-ref-guide/modules/query-guide/pages/terms-component.adoc:
##########
@@ -68,8 +68,57 @@ 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`
++
+XML:
++
+[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>
+----
++
+JSON:
++
+[source,json]
+----
+{
+  "responseHeader": {
+    "zkConnected": true,
+    "status": 0,
+    "QTime": 5
+  },
+  "terms": {
+    "name": {
+    "cable": 8661,
+    "sony": 21

Review Comment:
   these 2 lines should be indented?



##########
solr/solr-ref-guide/modules/query-guide/pages/terms-component.adoc:
##########
@@ -68,8 +68,57 @@ 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`
++
+XML:
++
+[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>
+----
++
+JSON:
++
+[source,json]
+----
+{
+  "responseHeader": {
+    "zkConnected": true,
+    "status": 0,
+    "QTime": 5
+  },
+  "terms": {
+    "name": {
+    "cable": 8661,
+    "sony": 21
+    },
+    "title": {
+    "cable": 11387,
+    "sony": 3921

Review Comment:
   these 2 lines should be indented?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to