You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
issue108: Priority does not flow down to child nodes (#109)
* issue108: Priority does not flow down to child nodes #108
Add parent priority to child nodes when marking for crawl
* enhancement: add priority to direct child nodes #108
This enhancement aims to flow priority down to direct child nodes only.
Through the implementation of node levels and a level check when
marking a node to be crawled, we only assign a parent priority to a
child node if it is a direct ancestor of the original node.
This will prevent passing priority recursively and if, for example, a child
node is a top level node, filtering the priority to effectively all nodes,
which is undesirable behaviour.
* fix: Add priority check to node
* fix: Remove extra table closing tag in install.xml
* style: remove addition line in upgrade script
* tests: Add unit tests for issue #108
* tests: Add priority provider to test all possible parent priorities
<FIELDNAME="level"TYPE="int"LENGTH="1"NOTNULL="false"DEFAULT="2"SEQUENCE="false"COMMENT="Node level, 2 for parent node, 1 for direct child and 0 for subsequent children."/>
0 commit comments