StringFieldMapper is expecting any NumberFieldMapper while here we are indexing a long (ints, longs, floats and doubles are not indexed the same way) so there may be bad things happening because of this, for instance if the term_count field is sometimes populated automatically and sometimes manually.