00001 /*========================================================================== 00002 * Copyright (c) 2001 Carnegie Mellon University. All Rights Reserved. 00003 * 00004 * Use of the Lemur Toolkit for Language Modeling and Information Retrieval 00005 * is subject to the terms of the software license set forth in the LICENSE 00006 * file included with this software, and also available at 00007 * http://www.lemurproject.org/license.html 00008 * 00009 *========================================================================== 00010 */ 00011 00012 00013 00014 #ifndef _INDEXMANAGER_HPP 00015 #define _INDEXMANAGER_HPP 00016 #include "Index.hpp" 00017 // force parsing includes to get dependencies. 00018 #include "indri/Repository.hpp" 00019 namespace lemur 00020 { 00021 namespace api 00022 { 00024 class IndexManager { 00025 public: 00027 00028 static Index *openIndex(const string &indexTOCFile); 00029 }; 00030 } 00031 } 00032 #endif /* _INDEXMANAGER_HPP */