senyor-seymour-butts / SemanticP2P

0 stars 0 forks source link

Merge Search Responses #3

Open senyor-seymour-butts opened 8 years ago

senyor-seymour-butts commented 8 years ago

In order for the semantic search algorithm to work the Domain Tree and Peers Queue need to be constantly updated. This is done when a query request returns a result. This result needs to be checked for duplicates and then all peers and their known paths are inserted into the Peers Queue and Domain Tree.

Optimization: When adding paths clean up any peers which exist multiple times along the same path.