[ 
https://issues.apache.org/jira/browse/OAK-5048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072625#comment-16072625
 ] 

Chetan Mehrotra edited comment on OAK-5048 at 7/4/17 6:30 AM:
--------------------------------------------------------------

bq.  if we wrap the LazyInputStream in a regular BufferedInputStream

Can be done but then it kind of defeats the purpose of the 
[change|https://github.com/apache/tika/commit/896c46a0c652de436da0e4f25bfa53a7d83ae02f]
 done in Tika. Approach I am now taking (OAK-6414) is to read the tika-config 
in code and see which all mime types are configured with EmptyParser and then 
avoid hitting Tika layer for them all together. This makes the implementation 
more deterministic.


was (Author: chetanm):
bq.  if we wrap the LazyInputStream in a regular BufferedInputStream

Can be done but then it kind of defeats the purpose of the 
[change|https://github.com/apache/tika/commit/896c46a0c652de436da0e4f25bfa53a7d83ae02f]
 done in Tika. Approach I am now taking is to read the tika-config in code and 
see which all mime types are configured with EmptyParser and then avoid hitting 
Tika layer for them all together. This makes the implementation more 
deterministic.

> Upgrade to Tika 1.15 version
> ----------------------------
>
>                 Key: OAK-5048
>                 URL: https://issues.apache.org/jira/browse/OAK-5048
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene
>            Reporter: Tommaso Teofili
>            Assignee: Chetan Mehrotra
>             Fix For: 1.8
>
>
> Oak Lucene indes is currently using Tika 1.5 version while current latest 
> release of Apache Tika is 1.14, I think there're lots of "interesting" bugs 
> fixed, and possibly improvements (performance, more accurate text extraction, 
> etc.) we could get at almost 0 cost by just bumping the version number.
> Release notes https://tika.apache.org/1.15/index.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to