Changeset 7629 for trunk/indexers/mg
- Timestamp:
- 2004-06-22T16:22:36+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/indexers/mg/jni/MGWrapperImpl.c
r4714 r7629 25 25 #include "backend.h" 26 26 #include "environment.h" 27 27 #include "text_get.h" 28 #include "stemmer.h" 28 29 29 30 /************************************************************************* … … 408 409 rqi.Sort = 1; /* Sort the query terms by frequency before ranking */ 409 410 rqi.AccumMethod = 'L'; /* Use a list when accumulating (has bugs though...) */ 410 /* rqi.MaxAccums = -1; /* Use as many accumulators as necessary - CRASHES with list */411 /* rqi.MaxAccums = -1; */ /* Use as many accumulators as necessary - CRASHES with list */ 411 412 rqi.MaxAccums = 100000; 412 413 rqi.MaxTerms = -1; /* Use all the query terms */ 413 /* rqi.StopAtMaxAccum = 0; /* Don't care (using as many accumulators as necessary) */414 /* rqi.StopAtMaxAccum = 0;*/ /* Don't care (using as many accumulators as necessary) */ 414 415 rqi.StopAtMaxAccum = 1; 415 416 rqi.HashTblSize = 1000; /* Don't care (not using a hash table) */ … … 669 670 670 671 /* Print the data to a character array */ 671 sprintf(result, "Query params:\nindex\t\t%s\ncasefold\t%d\nstem\t\t%d\nquery type\t%s\nmax docs\t% d\n",672 sprintf(result, "Query params:\nindex\t\t%s\ncasefold\t%d\nstem\t\t%d\nquery type\t%s\nmax docs\t%ld\n", 672 673 (data->queryInfo->index == NULL ? "<none loaded>" : data->queryInfo->index), 673 674 (data->defaultStemMethod & 1),
Note:
See TracChangeset
for help on using the changeset viewer.