We propose a new distributed, fault-tolerant Peer-to-Peer index structure for resource discovery applications called the P-tree. P-trees efficiently support range queries in addition to equality queries. Categories and Subject Descriptors H.3.4 [Information Storage and retrieval]: Systems and Software--distributed systems General Terms Algorithms Keywords peer-to-peer, indexing, range queries, resource discovery