public Integer addToken(long value, int weight) {
        return addInternal(value, weight);
    }
Creates an empty weighted set; note you must provide an index name up front
container-search/src/main/java/com/yahoo/prelude/query/WeightedSetItem.java