pike.git / lib / modules / Search.pmod / Utils.pmod

version» Context lines:

pike.git/lib/modules/Search.pmod/Utils.pmod:1:   // This file is part of Roxen Search   // Copyright © 2001 Roxen IS. All rights reserved.   // - // $Id: Utils.pmod,v 1.18 2001/07/31 15:02:58 norlin Exp $ + // $Id: Utils.pmod,v 1.19 2001/07/31 15:29:47 js Exp $      #if !constant(report_error)   #define report_error werror   #endif      public array(string) tokenize_and_normalize( string what )   //! This can be optimized quite significantly when compared to   //! tokenize( normalize( x ) ) in the future, currently it's not all   //! that much faster, but still faster.   {
pike.git/lib/modules/Search.pmod/Utils.pmod:98:    if(!db)    THROW("Could not aquire the database URL to database " +    get_database_value("db_name") + ".\n");    }    return db;    }       Search.RankingProfile get_ranking() {    refresh();    if(!ranking) -  ranking = Search.RankingProfile(8, +  ranking = Search.RankingProfile(0,    get_search_value("px_rank"),    get_database(),    get_search_value("fi_rank"));    return ranking;    }       class ADTSet {    private mapping vals = ([]);       ADTSet add (string|int|float in) {