Branch: Tag:

2001-05-25

2001-05-25 18:39:12 by Per Hedbor <ph@opera.com>

Added phrase search test

Rev: lib/modules/Search.pmod/Query.pmod:1.3

24:    prox_ranking,    blobfeeder(db, map(words,hash) ));   } +  + _WhiteFish.ResultSet test_query2(Search.Database.MySQL db, array(string) words) + { +  array(int) field_ranking=allocate(66); +  field_ranking[0]=17; +  field_ranking[2]=47; +  return _WhiteFish.do_query_phrase(map(words, hash), +  field_ranking, +  blobfeeder(db, map(words,hash) )); + }