if (skills != null && skills.length() > 0) {
if (esExp.length() > 0) {</BUG>
esExp.append(" AND ");
}
<BUG>esExp.append("skills:").append(StorageUtils.ASTERISK_STR).append(skills).append(StorageUtils.ASTERISK_STR);
</BUG>
}
<BUG>String position = filter.getPosition().replace(StorageUtils.ASTERISK_STR, StorageUtils.EMPTY_STR);

if (position != null && position.length() > 0) {
if (esExp.length() > 0) {</BUG>
esExp.append(" AND ");

char firstChar = filter.getFirstCharacterOfName();
if (firstChar != '\u0000') {
esExp.append("lastName:").append(firstChar).append(StorageUtils.ASTERISK_STR);
return esExp.toString();
}
String inputName = StringUtils.isBlank(filter.getName()) ? null : filter.getName().replace(StorageUtils.ASTERISK_STR, StorageUtils.EMPTY_STR);
if (StringUtils.isNotBlank(inputName)) {
esExp.append("name:").append(StorageUtils.ASTERISK_STR).append(removeAccents(inputName)).append(StorageUtils.ASTERISK_STR);
}
String skills = StringUtils.isBlank(filter.getSkills()) ? null : filter.getSkills().replace(StorageUtils.ASTERISK_STR, StorageUtils.EMPTY_STR);
if (StringUtils.isNotBlank(skills)) {
if (esExp.length() > 0) {
esExp.append(" AND ");
