throws Exception {
HttpInputStream queryResult;
queryResult =
client.get(getBaseURL() + "/search?query=pid~demo:*"
+ "&maxResults=1000&pid=true&xml=true", true, true);
SearchResultParser parser = new SearchResultParser(queryResult);
Set<String> result = parser.getPIDs();
queryResult.close();
return result;
}