@Override
    public long getInteger() {
        try {
            return Integer.parseInt(getString());
        } catch (java.lang.NumberFormatException e) {
            return 0;
        }
    }
Sets the value of this result.

@param value The value to set.
@return This, to allow chaining.
searchlib/src/main/java/com/yahoo/searchlib/expression/StringResultNode.java