code: void addAggregateIndexes(Document doc)
     {
        Document old=aggregateIndexes.put(doc.get(FieldNames.UUID), doc);
        if (old != null)
        {
           Util.disposeDocument(old);
        }
     }
docs: *
  @param doc : the document to add to the temp  map aggregateIndexes.
  @return