Nino, You might want to give this a try:
$ curl -T price.xls http://localhost:9998/tika/main --header "Accept: text/plain" There is an equivalent for multipart uploads as well. Haris On Tue, May 2, 2017 at 3:39 PM Nino Škopac <[email protected]> wrote: > Hey Tim, thanks for the reply. > > I'm not sure what do you mean by "a shareable test file". I'm not a Java > dev at all, so I can't really help with codez, but if you meant a document > I used with --text-main mode on Tika-App, but couldn't do the same with > Tika-Server, then yeah, sure, please find the attachment on: > https://issues.apache.org/jira/browse/PDFBOX-3774 (same PDF test file, > another issue). > > > > On Tue, May 2, 2017 at 3:04 PM, Allison, Timothy B. <[email protected]> > wrote: > >> Nino, >> >> >> >> I’m sorry for not responding to TIKA-2343. I don’t think that is >> currently available in tika-server. I’m crunched btwn work and prep for >> the 1.15 release. It _*should*_ be an easy enough fix. Would you be >> able to submit a shareable test file on TIKA-2343 for the eventual unit >> test? >> >> >> >> If another committer is able to take it, sooner…have at it! >> >> >> >> Best, >> >> >> >> Tim >> >> >> >> *From:* Nino Škopac [mailto:[email protected]] >> *Sent:* Tuesday, May 2, 2017 7:40 AM >> *To:* [email protected] >> *Subject:* --text-main in Tika-Server ? >> >> >> >> Hey, >> >> >> >> in Tika-App it's possible to use --text-main to get main content outta of >> a document. >> >> >> >> Is there an equivalent in Tika-Server? >> >> >> >> Nino >> > >
