public I_CmsSearchDocument getDocument(int docId) {

        try {
            IndexSearcher searcher = getSearcher();
            return new CmsLuceneDocument(searcher.doc(docId));
        } catch (IOException e) {
            // ignore, return null and assume document was not found
        }
        return null;
    }
public I_CmsSearchDocument getDocument ( int docId ) { try { IndexSearcher searcher = getSearcher ( ) ; return new CmsLuceneDocument ( searcher . doc ( docId ) ) ; } catch ( IOException e ) { } return null ; }
Returns a document by document ID.<p>

@param docId the id to get the document for

@return the CMS specific document