Does FindPagesWithCriteria use BFS or DFS?

Vote:
 

I've been wondering about FindPagesWithCriteria... Does it use BFS (breadth-first search) or DFS (depth-first search)? Perhaps there is even a way to control this? Or maybe it uses neither?

Thanks

#37869
Mar 23, 2010 11:46
Vote:
 

Hi Deniz!

FindPagesWithCriteria uses a few stored procedures (for ex. netPropertyPageSearch, netPropertyPageSearchString) to perform the search and is thus able to work on the complete set of pages at once.

In order to filter out only those pages under the specified node there is a helper table, tblTree, that contains all pageIds under any
given parent page id.

/johan

#37877
Mar 23, 2010 14:40
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.