code: void add_document(Document doc)
      {
          doc.feature().normalize();
          documents_.add(doc);
          composite_.add_vector(doc.feature());
      }
docs: Add a document.
  
  @param doc the pointer of a document object