thymeleaf проверьте, является ли null или empty
<div th:if= "${searchResults.results != null}">
thymeleaf - это пустая строка
<p th:text="${#strings.isEmpty(string)}"></p>
<p th:text="${#strings.isEmpty(nullString)}"></p>
<p th:text="${#strings.defaultString(emptyString,'Empty String')}"></p>