You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2019/04/10 19:36:28 UTC

[tika] branch master updated: TIKA-2850 add more limits to comparison reports

This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/master by this push:
     new eb9efca  TIKA-2850 add more limits to comparison reports
eb9efca is described below

commit eb9efca75ee36aba6ea09523006522c49f58e525
Author: TALLISON <ta...@apache.org>
AuthorDate: Wed Apr 10 15:36:15 2019 -0400

    TIKA-2850 add more limits to comparison reports
---
 tika-eval/src/main/resources/comparison-reports.xml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/tika-eval/src/main/resources/comparison-reports.xml b/tika-eval/src/main/resources/comparison-reports.xml
index 48c3523..9896832 100644
--- a/tika-eval/src/main/resources/comparison-reports.xml
+++ b/tika-eval/src/main/resources/comparison-reports.xml
@@ -1317,7 +1317,8 @@
             where pa.num_pages is not null
             and pb.num_pages is not null
             and pa.num_pages &lt;&gt; pb.num_pages
-            order by DIFF_NUM_PAGES_IN_B asc;
+            order by DIFF_NUM_PAGES_IN_B asc
+            limit 10000;
         </sql>
     </report>
 
@@ -1423,7 +1424,7 @@
             eb.parse_exception_id is null
             and pa.num_attachments &lt;&gt; pb.num_attachments
             order by ma.mime_string, pb.num_attachments-pa.num_attachments
-            limit 10000;
+            limit 100000;
         </sql>
     </report>
 
@@ -1454,7 +1455,7 @@
             where pa.is_embedded=false
             and pa.num_attachments &lt;&gt; pb.num_attachments
             order by ma.mime_string, pb.num_attachments-pa.num_attachments
-            limit 10000;
+            limit 100000;
         </sql>
     </report>
 
@@ -1485,6 +1486,7 @@
             and pa.num_metadata_values &lt;&gt; pb.num_metadata_values
             order by ma.mime_string,
             pb.num_metadata_values-pa.num_metadata_values
+            limit 100000
         </sql>
     </report>
     <report reportName="Tag Count Diffs By Mime"
@@ -1524,6 +1526,7 @@
             tags_by_mime tbm
             join mimes ma on tbm.mime_id_a=ma.mime_id
             join mimes mb on tbm.mime_id_b=mb.mime_id
+            limit 100000
         </sql>
 
     </report>
@@ -1572,7 +1575,8 @@
             order by m.mime_string
             limit 20000
         </sql>
-    </report>    <after>
+    </report>
+    <after>
         <sql>drop table if exists md5_multiples_tmp_a</sql>
         <sql>drop table if exists md5_multiples_tmp_b</sql>
     </after>