Re: how can make searching for peers on jxta more accurate?
"Mike [bondolo] Duigou" <[email protected]> Wed, 28 Sep 2005 13:35:54 -0700
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Organization | Project JXTA, http://www.jxta.org |
| Message-ID | <[email protected]> |
sparky123 wrote: > how can make searching for peers on jxta more accurate? > > reagards > helpastudent It sounds like you are probably asking the wrong question. The JXTA discovery service does not provide exhaustive search services. It will never return *all* of the peers on the network, for example. The discovery service is instead intended to provide a reasonable number of advertisements matching the query while doing the minimum amount of work on the network in order to satisfy the query. So, if you issue a broad query for peers the discovery service will indeed return some results, but if it can do so by only querying your neighbour peers then it will not look further. If you issue a narrow query, exact peer name for example, that cannot be answered by the local peers then the JXTA discovery service will look harder across the network in order to provide an answer. Hope that helps. Mike