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.20 2001/08/06 17:23:45 nilsson Exp $ + // $Id: Utils.pmod,v 1.21 2001/08/06 17:55:33 nilsson 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:114:    get_database_value("db_name") + ".\n");    }    return db;    }       //! Returns a cached ranking profile for the current database and    //! search profile.    Search.RankingProfile get_ranking() {    refresh();    if(!ranking) -  ranking = Search.RankingProfile(0, +  ranking = Search.RankingProfile(get_search_value("fi_cut"),    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) {