You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2018/07/11 03:34:31 UTC

[02/10] james-project git commit: JAMES-2456 Add Tika information in README

JAMES-2456 Add Tika information in README


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/b63bcd4c
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/b63bcd4c
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/b63bcd4c

Branch: refs/heads/master
Commit: b63bcd4c3e75628bb5a54bf20404a446762034bc
Parents: 3b913b5
Author: Antoine Duprat <ad...@linagora.com>
Authored: Mon Jul 9 15:34:26 2018 +0200
Committer: benwa <bt...@linagora.com>
Committed: Wed Jul 11 10:27:38 2018 +0700

----------------------------------------------------------------------
 README.adoc                                             | 12 +++++++++---
 .../cassandra-ldap/destination/conf/tika.properties     |  3 ++-
 .../guice/cassandra/destination/conf/tika.properties    |  3 ++-
 3 files changed, 13 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/b63bcd4c/README.adoc
----------------------------------------------------------------------
diff --git a/README.adoc b/README.adoc
index 1cc5450..fd03b41 100644
--- a/README.adoc
+++ b/README.adoc
@@ -213,14 +213,20 @@ If you haven't already:
 
 
 ==== How to ?
-You need a running *cassandra* in docker. To achieve this run :
+You need a running *cassandra* in docker. To achieve this run:
 
     $ docker run -d --name=cassandra cassandra:2.2.3
 
-You need a running *ElasticSearch* in docker. To achieve this run :
+You need a running *ElasticSearch* in docker. To achieve this run:
 
     $ docker run -d --name=elasticsearch elasticsearch:2.2.1
 
+If you want to use all the JMAP search capabilities, you may also need to start Tika:
+
+    $ docker run -d --name=tika linagora/docker-tikaserver:1.18-SNAPSHOT-plus-TIKA-2520
+
+You can find more explanation on the need of Tika in this page http://james.apache.org/server/config-elasticsearch.html
+
 We need to provide the key we will use for TLS. For obvious reasons, this is not provided in this git.
 
 Copy your TLS keys to `run/guice/cassandra/destination/conf/keystore` or generate it using the following command. The password must be `james72laBalle` to match default configuration.
@@ -233,7 +239,7 @@ Then we need to build james container :
 
 To run this container :
 
-    $ docker run --hostname HOSTNAME -p "25:25" -p 80:80 -p "110:110" -p "143:143" -p "465:465" -p "587:587" -p "993:993" --link cassandra:cassandra --link elasticsearch:elasticsearch --name james_run -t james_run
+    $ docker run --hostname HOSTNAME -p "25:25" -p 80:80 -p "110:110" -p "143:143" -p "465:465" -p "587:587" -p "993:993" --link cassandra:cassandra --link elasticsearch:elasticsearch --link tika:tika --name james_run -t james_run
 
 Where :
 

http://git-wip-us.apache.org/repos/asf/james-project/blob/b63bcd4c/dockerfiles/run/guice/cassandra-ldap/destination/conf/tika.properties
----------------------------------------------------------------------
diff --git a/dockerfiles/run/guice/cassandra-ldap/destination/conf/tika.properties b/dockerfiles/run/guice/cassandra-ldap/destination/conf/tika.properties
index 73fc333..5e0229a 100644
--- a/dockerfiles/run/guice/cassandra-ldap/destination/conf/tika.properties
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/tika.properties
@@ -15,6 +15,7 @@
 #  specific language governing permissions and limitations
 #  under the License.
 
+tika.enabled=true
 tika.host=tika
 tika.port=9998
-tika.timeoutInMillis=3000
\ No newline at end of file
+tika.timeoutInMillis=3000

http://git-wip-us.apache.org/repos/asf/james-project/blob/b63bcd4c/dockerfiles/run/guice/cassandra/destination/conf/tika.properties
----------------------------------------------------------------------
diff --git a/dockerfiles/run/guice/cassandra/destination/conf/tika.properties b/dockerfiles/run/guice/cassandra/destination/conf/tika.properties
index 73fc333..5e0229a 100644
--- a/dockerfiles/run/guice/cassandra/destination/conf/tika.properties
+++ b/dockerfiles/run/guice/cassandra/destination/conf/tika.properties
@@ -15,6 +15,7 @@
 #  specific language governing permissions and limitations
 #  under the License.
 
+tika.enabled=true
 tika.host=tika
 tika.port=9998
-tika.timeoutInMillis=3000
\ No newline at end of file
+tika.timeoutInMillis=3000


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org