> On Sun, 4 May 2014, Milos Kovacevic wrote:
>> when I post a file for parsing to tika server from my app i get the
>> output in html format but I would like that to be in plain text. When I
>> use tika-server-1.3.jar from the same app the output is plain text.
>
> How are you passing the file to the server? And are you setting an Accepts
> header? Normally with a JAXRS server which supports multiple response
> types, it's the accept header you use to pick between them. Take a look at
> the Tika Server unit tests for examples
>
> Nick
>
Thank you very much. I forgot to set my urlconnection with
setRequestProperty("accept","text/plain");

Now it works.

Do you know about setting the max size of the parsed text?

Milos

Reply via email to