You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2014/10/21 10:49:34 UTC

[jira] [Resolved] (OAK-2221) Log path for text extraction error on the Lucene index

     [ https://issues.apache.org/jira/browse/OAK-2221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu resolved OAK-2221.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.1.2

done with rev http://svn.apache.org/r1633315
[~chetanm] do you think it makes sense to merge this into 1.0?

> Log path for text extraction error on the Lucene index
> ------------------------------------------------------
>
>                 Key: OAK-2221
>                 URL: https://issues.apache.org/jira/browse/OAK-2221
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: oak-lucene
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>             Fix For: 1.1.2
>
>
> The current debug trace looks like [0], not very informative about the location of the node, I'd like to add the path to this info.
> [0]
> {code}
> 21.10.2014 10:21:53.616 *DEBUG* [] [pool-8-thread-3] org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditor Failed to extract text from a binary property. This is a fairly common case, and nothing to worry about. The stack trace is included to help improve the text extraction feature.
> org.apache.tika.exception.TikaException: XML parse error
> 	at org.apache.tika.parser.xml.XMLParser.parse(XMLParser.java:78)
> 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
> 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
> 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
> 	at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
> 	at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexEditor.parseStringValue(LuceneIndexEditor.java:362)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)