You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Alex Benenson <al...@gmail.com> on 2017/03/29 18:00:36 UTC
disabling nodetype index
Hi all
Is it safe to disable nodetype index? We do not have any custom queries
that needed it. Is it used for any oak internals?
Assuming it is safe to disable, can I follow that by deleting every node
under /oak:index/nodetype/:index ?
db.nodes.remove({_id: /^\d+:\/oak:index\/nodetype\/:index/})
(OAK 1.4, mongodb)
Thanks
--
Alex Benenson
Re: disabling nodetype index
Posted by Thomas Mueller <mu...@adobe.com>.
Hi,
Yes, it's safe to disable. Actually it's a good idea to disable, or at least change so that only few nodetypes are indexed (for example oak:QueryIndexDefinition nodes, or other config nodes).
Regards,
Thomas
On 29.03.17, 20:00, "Alex Benenson" <al...@gmail.com> wrote:
Hi all
Is it safe to disable nodetype index? We do not have any custom queries
that needed it. Is it used for any oak internals?
Assuming it is safe to disable, can I follow that by deleting every node
under /oak:index/nodetype/:index ?
db.nodes.remove({_id: /^\d+:\/oak:index\/nodetype\/:index/})
(OAK 1.4, mongodb)
Thanks
--
Alex Benenson