The document presents the Adaptive Overlay Topology Optimization (AOTO) technique aimed at addressing topology mismatching in unstructured peer-to-peer (P2P) networks. AOTO builds an overlay multicast tree to connect nodes efficiently and reduce unnecessary traffic, reportedly decreasing query costs by over 55% and average response times by 40%. The method is scalable and distributed, enhancing search performance without requiring global knowledge of the network.