Changeset 2011 for trunk/gsdl
- Timestamp:
- 2001-02-19T15:02:00+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/colservr/mgsearch.cpp
r1990 r2011 28 28 /* 29 29 $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 30 35 Revision 1.30 2001/02/15 22:58:11 kjm18 31 36 added a comment … … 440 445 and in a different order. Minimal time tests dont show any speed improvement 441 446 of list over array (maybe because its broken??). [02/2001, kjm18] 447 448 ... [sjboddie, also 02/2001] turns out that changing the accumulator_method 449 introduced a more serious bug than it fixed (i.e. occasionally when doing a 450 ranked search for a very common word you get no results at all). I've 451 changed it back to list for now, one day we should play with other 452 accumulator_methods but for now I don't have time and don't want to risk 453 introducing bugs (better the devil you know ;) 442 454 */ 443 455 void mgsearchclass::setsearchmode (const queryparamclass &queryparams) … … 445 457 mgq_ask(".set expert true"); 446 458 mgq_ask(".set sorted_terms true"); 447 mgq_ask(".set accumulator_method array");459 mgq_ask(".set accumulator_method list"); 448 460 mgq_ask(".set max_accumulators 500000"); 449 461 mgq_ask(".set maxparas 500000");
Note:
See TracChangeset
for help on using the changeset viewer.