Exports search tree.