code: Document createDocument(NodeDataIndexing node) throws RepositoryException
     {
        Document aDoc = null;
        if (volatileIndex != null)
        {
           aDoc = volatileIndex.getAggregateIndexes(node.getIdentifier());
        }
        if (aDoc == null)
        {
           aDoc = handler.createDocument(node, nsMappings, version, true, volatileIndex);
        }
        return aDoc;
     }
docs: Returns a lucene Document for the <code>node</code>.
  
  @param node
  the node to index wrapped into NodeDataIndexing
  @return the index document.
  @throws RepositoryException
  if an error occurs while reading from the workspace.