Searching in java-kms