Elastic: Shorten strings

This commit is contained in:
Jakub Vrana 2013-07-19 14:10:16 -07:00
parent 837e6b6b31
commit c95be3adae

View file

@ -1000,7 +1000,7 @@ function is_url($string) {
* @return bool * @return bool
*/ */
function is_shortable($field) { function is_shortable($field) {
return ereg('char|text|lob|geometry|point|linestring|polygon', $field["type"]); return ereg('char|text|lob|geometry|point|linestring|polygon|string', $field["type"]);
} }
/** Get query to compute number of found rows /** Get query to compute number of found rows