Don't check if ActsAsIndexed is defined because search partial will do that for us.