/**
* @return The search values for the neighbor request, or null if no content key specified
*/
public SearchValues searchValues() {
if (contentKey() != null) {
return new SearchValues(locationKey, domainKey, contentKey());
} else if(from !=null && to!=null) {
return new SearchValues(locationKey, domainKey, from, to);
} else if (contentBloomFilter() == null && keyBloomFilter() != null) {
return new SearchValues(locationKey, domainKey, keyBloomFilter());
} else if (contentBloomFilter() != null && keyBloomFilter() != null) {
return new SearchValues(locationKey, domainKey, keyBloomFilter(), contentBloomFilter());
} else {
return new SearchValues(locationKey, domainKey);
}
}