// Not elastic.NewTermQuery to support partial word match for String custom search attributes.
if tp == enumspb.INDEXED_VALUE_TYPE_KEYWORD || tp == enumspb.INDEXED_VALUE_TYPE_KEYWORD_LIST {
} else {
query = elastic.NewMatchQuery(colName, colValues[0])