To install it, first download the tika.cfg file from their github page at https://github.com/4teamwork/ftw.tika. Once that has been downloaded, modify your buildout.cfg with:
[buildout]
extends =
...
tika.cfg
eggs =
...
ftw.tika
zcml =
...
ftw.tika
ftw.tika-meta
parts =
...
tika-server-download
tika-server
[client1]
...
zcml-additional += ${tika:zcml}
eggs += ftw.tika
[client2]
...
zcml-additional += ${tika:zcml}
eggs += ftw.tika
[client3]
...
zcml-additional += ${tika:zcml}
eggs += ftw.tika
[client4]
...
zcml-additional += ${tika:zcml}
eggs += ftw.tika
Once that is done, run buildout. Then you can start the tika server with "bin/tika-server". Then you can start your plone instance. After that make sure you login and enable the tika add-on in your "site-setup", "add-ons" page.
To allow the tika server to start automatically on Centos 7, create the file /etc/systemd/system/tika.service with the following content:
[Unit]
Description=Tika server
After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/java -jar /opt/plone/zeocluster/parts/tika-server-download/tika-server.jar -h 0.0.0.0
[Install]
WantedBy=multi-user.target
Then enable the service with "systemctl enable tika".
Looks pretty nice. Now all office docs are searchable inside.