tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Palsulich (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (TIKA-272) Expose characters offsets information while parsing text-based inputs.
Date Sun, 01 Mar 2015 06:38:04 GMT

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

Tyler Palsulich closed TIKA-272.
    Resolution: Won't Fix

> Expose characters offsets information while parsing text-based inputs.
> ----------------------------------------------------------------------
>                 Key: TIKA-272
>                 URL: https://issues.apache.org/jira/browse/TIKA-272
>             Project: Tika
>          Issue Type: New Feature
>          Components: parser
>    Affects Versions: 0.4
>            Reporter: David Causse
>            Priority: Minor
> It would be interesting to access actual characters offset information when parsing text-based
files (I don't know if it's interesting/usable/doable for binary formats...).
> If I use tika for parsing HTML and inject parsed strings into lucene, I'm not able to
tell to the lucene analyzer where is the actual character in the original input.
> If tika expose this information It will permit to use unmodified lucene analyzers behind
tika and implement for example pretty highlighting in search result (see google cache view).
> With new Lucene Attribute API it could be fairly easy to provide a sort of TikaOffsetRectifierTokenFilter
in lucene contrib and use a stack like tika -> unmodified lucene analyzer -> tika offset

This message was sent by Atlassian JIRA

View raw message