thomasmueller commented on code in PR #566:
URL: https://github.com/apache/jackrabbit-oak/pull/566#discussion_r871419617


##########
oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexMBean.java:
##########
@@ -75,6 +75,23 @@ String[] getFieldTermsInfo(
                     int max
     ) throws IOException;
 
+    @Description("Retrieves the terms, and number of documents for each term, 
for an index. " +
+            "This allows to closely investigate what is stored in the index.")
+    String[] getFieldTermsInfo(
+            @Name("indexPath")
+            @Description("The index path (empty for all indexes)")
+                    String indexPath,
+            @Name("field")
+            @Description("The field name (empty for all fields)")
+                    String field,
+            @Name("fieldType")
+            @Description("The type of the field (empty for string)")

Review Comment:
   Could we add examples in the documentation (java.lang.Integer, int,...)?



-- 
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]

Reply via email to