You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by ch...@apache.org on 2015/05/21 12:47:12 UTC
svn commit: r1680817 -
/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md
Author: chetanm
Date: Thu May 21 10:47:12 2015
New Revision: 1680817
URL: http://svn.apache.org/r1680817
Log:
OAK-2895 - Avoid accessing binary content if the mimeType is excluded from indexing
Update the docs
Modified:
jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md
Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md?rev=1680817&r1=1680816&r2=1680817&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md Thu May 21 10:47:12 2015
@@ -550,6 +550,13 @@ the config file via `tika/config.xml` no
* maxExtractLength = -10, maxFieldLength = 10000 -> Actual value = 100000
* maxExtractLength = 1000 -> Actual value = 1000
+#### Mime type usage
+
+A binary would only be index if there is an associated property `jcr:mimeType` defined
+and that is supported by Tika. By default indexer uses [TypeDetector][OAK-2895]
+instead of default `DefaultDetector` which relies on the `jcr:mimeType` to pick up the
+right parser.
+
<a name="non-root-index"></a>
### Non Root Index Definitions
@@ -1086,6 +1093,7 @@ such fields
[OAK-2469]: https://issues.apache.org/jira/browse/OAK-2469
[OAK-2470]: https://issues.apache.org/jira/browse/OAK-2470
[OAK-2463]: https://issues.apache.org/jira/browse/OAK-2463
+[OAK-2895]: https://issues.apache.org/jira/browse/OAK-2895
[luke]: https://code.google.com/p/luke/
[tika]: http://tika.apache.org/
[oak-console]: https://github.com/apache/jackrabbit-oak/tree/trunk/oak-run#console