Changeset 13288 for trunk/indexers/mg/jni/MGWrapperImpl.c
- Timestamp:
- 2006-11-17T10:41:23+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/indexers/mg/jni/MGWrapperImpl.c
r11021 r13288 174 174 SetEnv("expert", "true", NULL); 175 175 SetEnv("mode", "docnums", NULL); 176 176 177 return 1; /* true - no errors */ 177 178 } … … 661 662 } 662 663 664 /* set the maximum number of numeric to split*/ 665 JNIEXPORT void JNICALL 666 Java_org_greenstone_mg_MGWrapper_setMaxNumeric (JNIEnv *j_env, 667 jobject j_obj, 668 jint j_max) { 669 670 char text[20]; 671 char* maxnumeric; 672 sprintf(text,"%d",j_max); 673 maxnumeric = text; 674 SetEnv("maxnumeric",maxnumeric, NULL); 675 } 676 663 677 664 678 /* Turn term frequency recording on or off */
Note:
See TracChangeset
for help on using the changeset viewer.