Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tika Wiki" for change notification.
The "TikaJAXRS" page has been changed by ChrisMattmann: http://wiki.apache.org/tika/TikaJAXRS?action=diff&rev1=5&rev2=6 This page is documentation on tika's JSR 311 network server, tika-server. The server package uses the [[http://cxf.apache.org/|Apache CXF]] framework that provides an implementation of JAX-RS for Java. The Tika server component builds to a standalone package in Tika, tika-server. Releases of Tika version 1.2 and beyond will ship with tika-server enabled, but to get the software before then and to experiment you can follow the below steps: - # svn export http://svn.apache.org/repos/tika/trunk/tika-server + 1. svn export http://svn.apache.org/repos/tika/trunk/tika-server - # mvn install + 2. mvn install - # java -jar target/tika-server-X.Y.jar + 3. java -jar target/tika-server-X.Y.jar You will then see a message such as the following: @@ -38, +38 @@ Some Example calls with cURL: {{{ - curl -X PUT -d @zipcode.csv http://localhost:9998/meta --header "Content-Type: text/csv" + $ curl -X PUT -d @zipcode.csv http://localhost:9998/meta --header "Content-Type: text/csv" }}} Returns: @@ -77, +77 @@ }}} HTTP PUTs an embedded document type to the /unpacker service and you get back a zip of the extracted text for each resource filename in the original PUT embedded document type. + Some Example calls with cURL: + + == PUT zip file and get back met file zip == + + {{{ + $ curl -X PUT -d @foo.zip http://localhost:9998/unpacker --header "Content-type: application/zip" + }}} +
