public I_CmsSearchIndex getIndex(String indexName) {

        for (I_CmsSearchIndex index : m_indexes) {
            if (indexName.equalsIgnoreCase(index.getName())) {
                return index;
            }
        }
        return null;
    }
public I_CmsSearchIndex getIndex ( String indexName ) { for ( I_CmsSearchIndex index : m_indexes ) { if ( indexName . equalsIgnoreCase ( index . getName ( ) ) ) { return index ; } } return null ; }
Returns the Lucene search index configured with the given name.<p>
The index must exist, otherwise <code>null</code> is returned.

@param indexName then name of the requested search index

@return the Lucene search index configured with the given name