public void addFileSizeField(int length) {

        if (OpenCms.getSearchManager().getSolrServerConfiguration().getSolrSchema().hasExplicitField(
            CmsSearchField.FIELD_SIZE)) {
            m_doc.addField(CmsSearchField.FIELD_SIZE, new Integer(length));
        }
    }
public void addFileSizeField ( int length ) { if ( OpenCms . getSearchManager ( ) . getSolrServerConfiguration ( ) . getSolrSchema ( ) . hasExplicitField ( CmsSearchField . FIELD_SIZE ) ) { m_doc . addField ( CmsSearchField . FIELD_SIZE , new Integer ( length ) ) ; } }
@see org.opencms.search.I_CmsSearchDocument#addFileSizeField(int)