class DefaultSearchDepthPolicy extends AbstractPolicy implements SearchDepthPolicy {

    public boolean nextLevelEnabled(Request request)
    {
        if(!isAssignedValueRequestsCanSpawnSubsearch() && request.containsAssignedValue())
        {
            return false;
        }
        return levelEnabled(request.getLevel() + 1);
    }

}