...
This page is documentation on accessing Tika 's as a RESTful API , via the tika-server , a standalone component.
Table of Contents |
---|
Installation
The easiest way to get the Tika JAXRS server is to download the latest stable release binary. This is available from the Apache Tika downloads page, via your favourite local mirror. You want the tika-server-1.x.jar file, eg tika-server-1.13.jarAlternatively you can use unofficial docker image from Dave Meikle.current installation process post 1.23 and prior to 1.24 is a bit in flux. Read on below for some options:
Building from source
If you need to customise the server in some way, and/or need the very latest version to try out a fix, then to build from source:
...
The Tika Server binary is a standalone runnable jar. Download the latest stable release binary from the Apache Tika downloads page, via your favourite local mirror. You want the tika-server-1.x.jar file, eg tika-server-1.23.jar
You can start it by calling java with the -jar
option, eg something like java -jar tika-server-1.1323.jar
You will then see a message such as the following:
No Format |
---|
$ java -jar tika-server-1.823-SNAPSHOT.jar 19-Jan-2015 14:23:36 org.apache.tika.server.TikaServerCli main INFO: Starting Apache Tika 1.8-SNAPSHOT server 19-Jan-2015 14:23:36 org.apache.cxf.endpoint.ServerImpl initDestination INFO: Setting the server's publish address to be http://localhost:9998/ 19-Jan-2015 14:23:36 org.slf4j.impl.JCLLoggerAdapter info INFO: jetty-8.y.z-SNAPSHOT 19-Jan-2015 14:23:36 org.slf4j.impl.JCLLoggerAdapter info INFO: Started SelectChannelConnector@localhost:9998 19-Jan-2015 14:23:36 org.apache.tika.server.TikaServerCli main INFO: Started |
...