From a4d74500e7838e2f20b8ad1ccc7e298f1a2efb55 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Mon, 19 Jan 2015 09:22:06 +0000 Subject: [PATCH] SOLR-6996: Add a test for ODF files in ExtractingRequestHandlerTest git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652944 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test-files/extraction/open-document.odt | Bin 0 -> 18304 bytes .../ExtractingRequestHandlerTest.java | 10 ++++++++++ 2 files changed, 10 insertions(+) create mode 100644 solr/contrib/extraction/src/test-files/extraction/open-document.odt diff --git a/solr/contrib/extraction/src/test-files/extraction/open-document.odt b/solr/contrib/extraction/src/test-files/extraction/open-document.odt new file mode 100644 index 0000000000000000000000000000000000000000..57f4369da5649af4a855a52921cce7fd2ac25ea0 GIT binary patch literal 18304 zcma)k1ymi&(lzc7+@0X=uEAY{yB^$KgS&gM;1=9HNN{)e;1VqO54ktjzIWgMnl)$j z>8f2--96JYr)N|0QlMa{K(9p^6OmP?j|q#kh|Wge0pLJqV{2?}WMk-LWo+$8=V%-g>-!`(IIxHa3?39YydTq6Ap!n;JXN3jrLh^lcsf%RIrofGzdi zY@8fv4fPGpj17(Sj3~y9^z@+CUp`_38He@YY%ocX`d?=S66)xpmJsI!Li=+3`{cvE zNDXbQ9e5`dIpYgKe@>j63TPF7SJFIbVcW5b* zD@df>G;;Sd|A3{EXw{9Nv%2c7=H+p(?`ADMa`b_B!K%YI`8pb745L1Kv!vDbD6Ryg zH-2!)F?Z-9KOwM)ql>c$tzm8-Zt=teaJj#@Q5c3(AldC-*A0pd9@uBxDhXitycC2a zo!}QdgIUAHjsCAiV40dzTDdZ4L-)d|+)pM{^dWOrh-x z9lkW7D;qhB-bf61?CSF}md|-g<7s242hP`^k}Wr$qzMS%cVl9`JZV0c_JUxv>dciP z4Kl~8^>fUedi>-3h1)4GZ6AhASz_<>0TCXRJxm*9K>qwWVTK8<5gSO+UyI2qjHJOi zl_=3}CM36a*CD)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ar=RBne16Y&~OPNhMKgoOc%+ zU!4n3wd3KYdXRMNnDt%9mg~-#WQc<+S@7l4k45y zTTFLN`iygHF-k&^7>w9x%T*L^!Hng1CV)V|n6@|>FyJaDrLns)s{L>yjl-wCP&+ZU zJnX}e$~d9espDBdsgJet6r}wKc8xuF4Eo`b&QJ=a{);8|F58L}>eWpQYxzA&I;VAW$w;`6eBw6bde7jo^a*3V3+Xj4=5frbyA&|xdN zuWOU!#kdSuE9qn$I}&tPLAl5EbjH>reqR@)WJxKY6GwZO5|z@NvXUq=js+Q!y1sh5 zH${%fyy1Tcs@R^MDLDpV`c0ax5kFfjjy?_YEMdlu{N6%GzIJL&NkqHYqU+TBN3drp zZNPbbU*{fiGR!o>sj{>_c_Bw5w5-^6$4>8<*5(A^NEBX-e!b<=(Pm{`HoOEMJhjbz z)5ZlGdg@fVhxM_dw}-td!Rw6p-+cHe2mEr&c_FvRO96wR0{wdqjhAWpOZk;i zH2P;EjlU1fpD3VzbP@SwDF12YuZcDO-Og)jjX#Uzf3owpL>vEZ>F@mt_z#x;OuX^G zT50|dR{l)H@$Xh%Q*r!R&i;dy|C5;GH)Frfg1_e1czy8sv(Ubr9DhyJ@oTDoA^*yw ze$Bt}XZi4gH2gCg$3KC8<$Ar+tp6<2FGKq$>G~J$RsNb_<)2KjKXCxUmjpB~yo^^~ z*e}$tF#r0@_xG72dEuJ<8zeyh_)p|t7l7A=_s>!(_%F+_yc9UZ Ss~Y0VAH~aRF7)p8+y4V5)r0#0 literal 0 HcmV?d00001 diff --git a/solr/contrib/extraction/src/test/org/apache/solr/handler/extraction/ExtractingRequestHandlerTest.java b/solr/contrib/extraction/src/test/org/apache/solr/handler/extraction/ExtractingRequestHandlerTest.java index 89533bdc49b..3159793f847 100644 --- a/solr/contrib/extraction/src/test/org/apache/solr/handler/extraction/ExtractingRequestHandlerTest.java +++ b/solr/contrib/extraction/src/test/org/apache/solr/handler/extraction/ExtractingRequestHandlerTest.java @@ -181,6 +181,16 @@ public class ExtractingRequestHandlerTest extends SolrTestCaseJ4 { , "//*/arr[@name='stream_name']/str[.='tiny.txt.gz']" ); + // compressed file + loadLocal("extraction/open-document.odt", + "uprefix", "ignored_", + "fmap.content", "extractedContent", + "literal.id", "open-document"); + assertU(commit()); + assertQ(req("extractedContent:\"Práctica sobre GnuPG\"") + , "//*[@numFound='1']" + , "//*/arr[@name='stream_name']/str[.='open-document.odt']" + ); }