toString should return the same string for retrocompatibility
solr search exception for empty strings