![]() Captures the name of the index which is used while logging indexPath Deprecated. Size in bytes used for splitting the index files when storing them in NodeStore functionName Name to be used to enable index usage with native query support. This option is supported for indexes of type lucene and Oak 1.10.0 blobSize Default value 32768 (32kb). So this setting only affects index usage for queries.) (This index is still updated even if the node / property does not exist, This settings therefore allows to enable or disable index usage depending on the version in use. Two versions of an application are running at the same time, with different /libs folders. With blue-green deployments, it is possible that With a repository where this property is missing, This is specially useful in blue-green deployments, when using the composite node store.įor example, if set to the index is only used if See Effective Index Definition useIfExists Optional string property Only use this index for queries if the given node or property exists. Used to refresh the stored index definition. Defaults to 10000 refresh Optional boolean property. maxFieldLength Numbers of terms indexed per field. ![]() selectionPolicy Optional string property. List of paths which should be excluded from indexing. excludedPaths Optional multi value property. If used, ‘includedPaths’ should be set to the same value(s). List of paths for which the index can be used to perform queries. queryPaths Optional multi value property. If used, ‘queryPaths’ should be set to the same value(s). List of paths which should be included in the index. includedPaths Optional multi value property. If this property is not specified, but valueRegex is specified, that property is also used for the useĬase specified here. Then those queries whose search text doesn't match this pattern but are still using the index will log a warning. If this property is present in an index definition, queryFilterRegex Optional string property A regular expression for query text. Then only those properties would be added to index whose value matches the regexĭefined by this property. If enabled the index can evaluate path restrictions valueRegex Optional string property A regular expression for property value in index definition. evaluatePathRestrictions Optional boolean property defaults to false. If this is a concern, then aggregation should not be used. Version 1 doesn't support property restrictions and index time aggregation.Ī compatVersion 2 full text index is usually faster to run queries.įor full text indexing with compatVersion 2,Īt query time, only the access right of the parent (aggregate) node is checked,Īnd the access right of the child nodes is not checked. ![]() Name of the Lucene codec to use compatVersion Required integer property, needs to be set to 2 Version 1 is deprecated, and new indexes should always use version 2. async Required and should always be async, or. Level type Required and should always be lucene. evaluatePathRestrictions (boolean) = falseįollowing are the config options which can be defined at the index definition To evaluate property constraints, full text constraints, path restrictions Depending on the configuration a Lucene index can be used Oak supports Lucene based indexes to support both property constraint and full UC4 - Find all assets which are created by David and refer to december.UC3 - Find all assets where comment contains december.UC2 - Find all assets which are having status as published sorted by last modified date. ![]()
0 Comments
Leave a Reply. |