thomasmueller commented on code in PR #1720: URL: https://github.com/apache/jackrabbit-oak/pull/1720#discussion_r1761017682
########## oak-doc/src/site/markdown/query/lucene.md: ########## @@ -483,14 +487,23 @@ type type is not used consistently across various nodes then it would recommended to specify the type explicitly. A binary is only indexed if there is an associated property `jcr:mimeType`. + For binary properties, you do not need to index the property separately. + Binary properties are automatically added to the fulltext index (but only there), + if the node is part of the index, if the node type (or mixin) matches, + if the mime type property is set, and if the mime type is indexed + (see the Tika configuration). propertyIndex : Whether the index for this property is used for equality conditions, ordering, - and is not null conditions. + and is not null conditions. Example query: Review Comment: Yes. I'll quote `is not null` (that is the syntax). ########## oak-doc/src/site/markdown/query/lucene.md: ########## @@ -483,14 +487,23 @@ type type is not used consistently across various nodes then it would recommended to specify the type explicitly. A binary is only indexed if there is an associated property `jcr:mimeType`. + For binary properties, you do not need to index the property separately. + Binary properties are automatically added to the fulltext index (but only there), + if the node is part of the index, if the node type (or mixin) matches, + if the mime type property is set, and if the mime type is indexed + (see the Tika configuration). Review Comment: Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
