Embodiments of a shared resource distributed index mechanism that peers in
a peer-to-peer network may utilize to distribute index entries
corresponding to resources to indexes of shared resources among one or
more other peers. These indexes may be used to direct queries to peers
where the queries are most likely to be answered. When a query is
received by a rendezvous peer including one or more indexes, contents of
the query may be "looked up" in the index to find matches. The results of
the lookup may include information on one or peer(s) that may hold
advertisement(s) to the resource requested by the query. The query may
then be forwarded to one or more peers that may hold the advertisement
for the resource. Embodiments may provide "loosely-coupled" distribution
of index entries for use in querying for resources in the peer-to-peer
network.