code: @Deprecated
      public Document getDocument(String rootPath) {
  
          if (getDocument(CmsSearchField.FIELD_PATH, rootPath) != null) {
              return (Document)getDocument(CmsSearchField.FIELD_PATH, rootPath).getDocument();
          }
          return null;
      }
docs: Returns the Lucene document with the given root path from the index.<p>
  
  @param rootPath the root path of the document to get
  
  @return the Lucene document with the given root path from the index
  
  @deprecated Use {@link #getDocument(String, String)} instead and provide {@link org.opencms.search.fields.CmsLuceneField#FIELD_PATH} as field to search in