{
results = (Topic[]) RESULTS_CACHE.get( topicExpr );
}
else
{
FullTopicExpression fullTopicExpr = (FullTopicExpression) topicExpr;
Set allMatchedTopics = new HashSet( );
QName[] topicPaths = fullTopicExpr.getTopicPaths( );
for ( int i = 0; i < topicPaths.length; i++ )
{
List matchedTopics = evaluateTopicPath( topicNsRegistry, topicPaths[i] );
allMatchedTopics.addAll( matchedTopics );
}