You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2010/02/22 12:40:27 UTC

[jira] Created: (JCR-2506) Stop text extraction when the maxFieldLength limit is reached

Stop text extraction when the maxFieldLength limit is reached
-------------------------------------------------------------

                 Key: JCR-2506
                 URL: https://issues.apache.org/jira/browse/JCR-2506
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: indexing, jackrabbit-core
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting
            Priority: Minor


When indexing large documents the text extraction often takes quite a while and uses lots of memory even if only the first maxFieldLength (by default 10000) tokens are used. I'd like to add a maxExtractLength parameter that can be used to set the maximum number of characters to extract from a binary. The default value of this parameter could be something like ten times the maxFieldLength setting.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-2506) Stop text extraction when the maxFieldLength limit is reached

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved JCR-2506.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0

I implemented such a maxExtractLength parameter in revision 915356.

> Stop text extraction when the maxFieldLength limit is reached
> -------------------------------------------------------------
>
>                 Key: JCR-2506
>                 URL: https://issues.apache.org/jira/browse/JCR-2506
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: indexing, jackrabbit-core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> When indexing large documents the text extraction often takes quite a while and uses lots of memory even if only the first maxFieldLength (by default 10000) tokens are used. I'd like to add a maxExtractLength parameter that can be used to set the maximum number of characters to extract from a binary. The default value of this parameter could be something like ten times the maxFieldLength setting.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.