mikemccand commented on a change in pull request #1126: LUCENE-4702: Terms 
dictionary compression.
URL: https://github.com/apache/lucene-solr/pull/1126#discussion_r362543015
 
 

 ##########
 File path: lucene/core/src/java/org/apache/lucene/codecs/blocktree/Stats.java
 ##########
 @@ -75,6 +75,17 @@
   /** Total number of bytes used to store term suffixes. */
   public long totalBlockSuffixBytes;
 
+  /**
+   * Number of times each compression method has been used.
+   * 0 = uncompressed
+   * 1 = lowercase_ascii
+   * 2 = LZ4
+   */
+  public final long[] compressionAlgorithms = new long[3];
 
 Review comment:
   Cool that you track this in BlockTree stats!  Did you post the stats 
somewhere?  Edit: ahh, I see the [cool stats 
here](https://issues.apache.org/jira/browse/LUCENE-4702?focusedCommentId=17003640&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17003640),
 thanks. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to