Search For a string in scripted index

Try a scripted field

String str = doc['short_description.keyword'].value;
if (str.contains("Gerrit")) {
return true;
}
return false;

Another discussion