{
if (setSpec.startsWith("col_"))
{
try
{
return new SolrFilterResult("item.collections:"
+ ClientUtils.escapeQueryChars(setSpec));
}
catch (Exception ex)
{
log.error(ex.getMessage(), ex);
}
}
else if (setSpec.startsWith("com_"))
{
try
{
return new SolrFilterResult("item.communities:"
+ ClientUtils.escapeQueryChars(setSpec));
}
catch (Exception e)
{
log.error(e.getMessage(), e);
}
}
return new SolrFilterResult();
}