public void disclose(Discloser discloser) {
        if (connectivity != 0)
            discloser.addProperty("connectivity", connectivity);
        if (connectedItem != null)
            discloser.addProperty("connectedItem", connectedItem); // reference
        if (creator != ItemCreator.ORIG)
            discloser.addProperty("creator", creator);
        if ( ! isRanked)
            discloser.addProperty("isRanked", isRanked);
        if ( ! usePositionData)
            discloser.addProperty("usePositionData", usePositionData);
        if (explicitSignificance)
            discloser.addProperty("significance", significance);
        if (documentFrequency != null)
            discloser.addProperty("documentFrequency", documentFrequency);
        if (weight != 100)
            discloser.addProperty("weight", weight);
        if (label != null)
            discloser.addProperty("label", label);
        if (hasUniqueID)
            discloser.addProperty("uniqueID", uniqueID);
    }
Returns whether position data should be used when ranking this item
container-search/src/main/java/com/yahoo/prelude/query/Item.java