private void addPropertiesString(StringBuilder s) {
            boolean firstTime = true;

            Integer itemReference = itemReferences.get(item);
            if (itemReference != null) {
                addPropertyString(s, "%id", itemReference);
                firstTime = false;
            }

            for (Map.Entry<String,Object> entry : properties.entrySet()) {
                if (!firstTime) {
                    s.append(' ');
                }
                addPropertyString(s, entry.getKey(), entry.getValue());
                firstTime = false;
            }
        }
Creates the textual representation for a single Item.
container-search/src/main/java/com/yahoo/prelude/query/textualrepresentation/TextualQueryRepresentation.java