Yikes and sorry... Your understanding is what I intended to happen and
added a unit test to confirm.  Tika should return the partial contents up
to the write limit.  Can you give me more details about how you're calling
tika?  /rmeta endpoint with text or xhtml or body?  What is the
writelimit you're choosing? Can you reproduce on a unit test file in our
repo?  Thank you for alerting us to this!

Best,

       Tim


On Mon, Apr 26, 2021 at 12:39 PM <[email protected]> wrote:

> Hi Tim,
>
>
>
> I tried the fix you did on Tika 1.26 for the issue TIKA-3325 I reported.
> As a reminder it was concerning the limit of extracted content and the goal
> was to limit across all content in a container file. It works well but not
> as I expected 😊 , indeed if the limit is reached, Tika just returns no
> content at all.
>
>
>
> On my side, I was thinking it would return content up to the limit and
> that the content exceeding the limit would be truncated to fits the limit.
> Would it be possible to have another header option implementing such
> behavior or is it too complicated ?
>
>
>
> Regards,
>
> Julien
>
>
>
>

Reply via email to