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

version» Context lines:

pike.git/lib/modules/Search.pmod/Query.pmod:299:    push(stack->top());    } else {    push(db->get_all_documents());    }    hasPlus = 0;    hasOrdinary = 0;    plusWordGlobs -= ({ "*" });    ordinaryWordGlobs -= ({ "*" });    }    -  foreach(Array.uniq(plusWordGlobs || ({}) | -  ordinaryWordGlobs || ({})), string w) +  foreach (Array.uniq(plusWordGlobs | ordinaryWordGlobs), string w)    glob_words += ({ ([ q->field : w]) });       if(hasPlus)    {    int first = 1;    if(sizeof(plusWords))    {    words += plusWords;    push(do_query_and(db, plusWords, ranking));    first = 0;