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

version» Context lines:

pike.git/lib/modules/Search.pmod/Query.pmod:1: - // This file is part of Roxen Search - // Copyright © 2001 - 2009, Roxen IS. All rights reserved. - // - // $Id: Query.pmod,v 1.37 2010/01/20 12:49:40 marty Exp $ + // $Id$ + #pike __REAL_VERSION__      static function(string,int:string) blobfeeder(Search.Database.Base db,    array words)   {    mapping state = mkmapping(words,allocate(sizeof(words)));    mapping(string:mapping(int:string)) blobcache = ([ ]);    return lambda( string word, int foo )    {    return db->get_blob(word, state[word]++, blobcache);    };