Changeset 2011


Ignore:
Timestamp:
2001-02-19T15:02:00+13:00 (23 years ago)
Author:
sjboddie
Message:

Set mg's accumulator method back to 'list' as the recent change appeared
to introduce a new (and more serious) bug while fixing the old bug. For
now we'll just have to live with it the way it is.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/colservr/mgsearch.cpp

    r1990 r2011  
    2828/*
    2929   $Log$
     30   Revision 1.31  2001/02/19 02:02:00  sjboddie
     31   Set mg's accumulator method back to 'list' as the recent change appeared
     32   to introduce a new (and more serious) bug while fixing the old bug. For
     33   now we'll just have to live with it the way it is.
     34
    3035   Revision 1.30  2001/02/15 22:58:11  kjm18
    3136   added a comment
     
    440445and in a different order. Minimal time tests dont show any speed improvement
    441446of list over array (maybe because its broken??).  [02/2001, kjm18]
     447
     448... [sjboddie, also 02/2001] turns out that changing the accumulator_method
     449introduced a more serious bug than it fixed (i.e. occasionally when doing a
     450ranked search for a very common word you get no results at all). I've
     451changed it back to list for now, one day we should play with other
     452accumulator_methods but for now I don't have time and don't want to risk
     453introducing bugs (better the devil you know ;)
    442454*/
    443455void mgsearchclass::setsearchmode (const queryparamclass &queryparams)
     
    445457  mgq_ask(".set expert true");
    446458  mgq_ask(".set sorted_terms true");
    447   mgq_ask(".set accumulator_method array");
     459  mgq_ask(".set accumulator_method list");
    448460  mgq_ask(".set max_accumulators 500000");
    449461  mgq_ask(".set maxparas 500000");
Note: See TracChangeset for help on using the changeset viewer.