1 /** @file expand.h 2 * @brief Set the expansion scheme for Omega 3 */ 4 /* Copyright (C) 2009 Olly Betts 5 * Copyright (C) 2013 Aarsh Shah 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 */ 21 22 #ifndef OMEGA_INCLUDED_EXPAND_H 23 #define OMEGA_INCLUDED_EXPAND_H 24 25 #include <xapian.h> 26 27 #include <string> 28 #include <map> 29 30 extern double expand_param_k; 31 32 void set_expansion_scheme(Xapian::Enquire & enq, 33 const std::map<std::string, std::string> & opt); 34 35 #endif // OMEGA_INCLUDED_EXPAND_H 36