code: private CmsSolrIndex getIndex() {
  
          String indexName = m_indexName;
          if (indexName == null) {
              return null;
          }
          return OpenCms.getSearchManager().getIndexSolr(indexName);
      }
docs: Gets the index to use for queries.<p>
  
  @return the index to use for queries