Examine icon indicating copy to clipboard operation
Examine copied to clipboard

Allow settings parentNodeId per content type

Open mattbrailsford opened this issue 9 years ago • 5 comments
trafficstars

Currently on an indexer, you can set a parentNodeId, however the umbraco content indexer can index both content and media so it's impossible to set a parentNodeId that is relevant for both. We should be allowed to set one per content type.

mattbrailsford avatar Jan 12 '16 12:01 mattbrailsford

This is more of an Umbraco thing, not really an examine thing.

That will start to make the config even uglier. I think this could be feasible by using events for more granular control?

Shazwazza avatar Jan 12 '16 12:01 Shazwazza

Ahh, sorry, my mistake. But yea, if there was an ability to hook into an event, that would be great.

mattbrailsford avatar Jan 12 '16 13:01 mattbrailsford

Hey @mattbrailsford happy to discuss the event options you want here - whether its a umb or examine change or just info, it's fine here :)

Shazwazza avatar Feb 03 '16 09:02 Shazwazza

Whoop! :)

So yea, the Parent ID is one event, having an ability to hook in and set the start node dynamically. The other I needed was having an early, cancelable event for a node being indexed. Right now, the only place you cancel an item from going into the index is within DocumentWriting, but by this point all the processing of that node has occured which is a waste of resources. We could do with an event really early to say "should I bother doing anything with this node?"

mattbrailsford avatar Feb 03 '16 09:02 mattbrailsford

There is a NodeIndexing even that is cancelable, does that one help?

Shazwazza avatar Oct 17 '16 20:10 Shazwazza