SearchEngine will not index terms whose byte size after converting to 'UTF-8' is more than 32766
Removed unused method
Check that argument #9 which is optional is a number
fix an exception when number was Nan