| clear query|facets|time |
Search criteria: .
Results from 11 to 20 from
29 (0.111s).
|
|
|
Loading phrases to help you refine your search...
|
|
RE: error parsing .XLS file - Tika - [mail # user]
|
|
...How about using a newer TIKA version? Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [EMAIL PROTECTED] org.apache.poi.hwpf.extractor.WordExtrac...
|
|
|
Author: Uwe Schindler,
2011-09-29, 07:44
|
|
|
RE: Tika leaves files open - Tika - [mail # user]
|
|
...With our internal Lucene IOUtils it's even simplier, see javadocs :-) This is why I proposed to use it also for TIKA: Closeable resource1 = null, resource2 = null, resource3 = null; &...
|
|
|
Author: Uwe Schindler,
2011-09-01, 10:41
|
|
|
RE: Tika leaves files open - Tika - [mail # user]
|
|
...This is why we use the "modernized" Lucene IOUtils.closeSafely... (and because Lucene has no external references). Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaph...
|
|
|
Author: Uwe Schindler,
2011-09-01, 10:00
|
|
|
RE: Tika leaves files open - Tika - [mail # user]
|
|
...Except when you have to close multiple resources... Also, JDBC throws Exceptions quite often on close :-) Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMai...
|
|
|
Author: Uwe Schindler,
2011-08-31, 17:29
|
|
|
RE: Tika leaves files open - Tika - [mail # user]
|
|
...Hi Jukka, For this typical try...finally code I suggest to use a pre-Java-7.0 workaround to make this behave more correct: If you do try...finally and another Exception occurs on close...
|
|
|
Author: Uwe Schindler,
2011-08-31, 16:53
|
|
|
RE: Closing streams (Was: Tika leaves files open) - Tika - [mail # user]
|
|
...I expect it to break with Java 7 runtime as this is marked as "binary incompatibility", too. Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://...
|
|
|
Author: Uwe Schindler,
2011-08-31, 14:52
|
|
|
RE: Closing streams (Was: Tika leaves files open) - Tika - [mail # user]
|
|
...Hi, This uses non-public APIs, we should patch TIKA to do it the correct, public java API way. Uwe Uwe Schindler H.-H.-Meier-Allee 63, D...
|
|
|
Author: Uwe Schindler,
2011-08-31, 14:50
|
|
|
RE: Closing streams (Was: Tika leaves files open) - Tika - [mail # user]
|
|
...Mark, You can use that code pattern on any class that implement (Auto-)Closeable. It does not affect TIKA if you use try-with-resources or not. It just depends if YOU want to u...
|
|
|
Author: Uwe Schindler,
2011-08-31, 14:28
|
|
|
RE: Closing streams (Was: Tika leaves files open) - Tika - [mail # user]
|
|
...Hi, It does here. only one other APIs you For Java 7 you could simplify this as a try-with-resources statement (which does something similar as Lucene's IOUtils.closeSafely metho...
|
|
|
Author: Uwe Schindler,
2011-08-31, 12:35
|
|
|
RE: Issue in text extraction in Solr / Tika - Tika - [mail # dev]
|
|
...Does it really add this newline, because this is strange? If you look at XHTMLContentHandler it does not. So the newline must come from somewhere else. Uwe Schindler H.-H.-Meier-Allee ...
|
|
|
Author: Uwe Schindler,
2011-08-20, 16:11
|
|
|
|