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/05/31 01:53:42 UTC

[03/14] james-project git commit: MAILBOX-338 Add documentation

MAILBOX-338 Add documentation


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

Branch: refs/heads/master
Commit: 10dea04b22779e164b0fdcf624e6c9fbb1d70b14
Parents: 2d94eb5
Author: benwa <bt...@linagora.com>
Authored: Fri May 25 09:40:52 2018 +0700
Committer: benwa <bt...@linagora.com>
Committed: Thu May 31 08:53:16 2018 +0700

----------------------------------------------------------------------
 src/site/xdoc/server/config-elasticsearch.xml | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/10dea04b/src/site/xdoc/server/config-elasticsearch.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/server/config-elasticsearch.xml b/src/site/xdoc/server/config-elasticsearch.xml
index d1fb181..2e2812f 100644
--- a/src/site/xdoc/server/config-elasticsearch.xml
+++ b/src/site/xdoc/server/config-elasticsearch.xml
@@ -118,12 +118,35 @@
         Here are the different properties:
 
         <dl>
+            <dt><strong>tika.enabled</strong></dt>
+            <dd>Should Tika text extractor be used? <br/>
+            If true, the TikaTextExtractor will be used behind a cache. <br/>
+            If false, the DefaultTextExtractor will be used (naive implementation only supporting text).<br/>
+            Defaults to false.</dd>
+
             <dt><strong>tika.host</strong></dt>
             <dd>IP or domain name of your Tika server. The default value is 127.0.0.1</dd>
+
             <dt><strong>tika.port</strong></dt>
             <dd>Port of your tika server. The default value is 9998</dd>
+
             <dt><strong>tika.timeoutInMillis</strong></dt>
             <dd>Timeout when issuing request to the tika server. The default value is 3 seconds.</dd>
+
+            <dt><strong>tika.cache.eviction.period</strong></dt>
+            <dd>A cache is used to avoid, when possible, query Tika multiple time for the same attachments. <br/>
+            This entry determines how long after the last read an entry vanishes.<br/>
+            Please note that units are supported (ms - millisecond, s - second, m - minute, h - hour, d - day). Default unit is seconds. <br/>
+            Default value is <b>1 day</b></dd>
+
+            <dt><strong>tika.cache.enabled</strong></dt>
+            <dd>Should the cache be used? False by default</dd>
+
+            <dt><strong>tika.cache.weight.max</strong></dt>
+            <dd>Maximum weight of the cache.<br/>
+            A value of <b>0</b> disables the cache<br/>
+            Please note that units are supported (K for KB, M for MB, G for GB). Defaults is no units, so in bytes.<br/>
+            Default value is <b>100 MB</b>.</dd>
         </dl>
 
         Note: You can launch a tika server using this command line:


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