Changeset 23508 for main/branches/64_bit_Greenstone/greenstone2/common-src/indexers/mg/src/text/query.ranked.c
- Timestamp:
- 2010-12-17T14:04:10+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/branches/64_bit_Greenstone/greenstone2/common-src/indexers/mg/src/text/query.ranked.c
r16583 r23508 89 89 float *OrgWeight; 90 90 int DocNum; 91 u_long SeekPos; /* position in the text file in bytes */92 u_long Len; /* length of the document in bytes */91 mg_u_long SeekPos; /* position in the text file in bytes */ 92 mg_u_long Len; /* length of the document in bytes */ 93 93 } 94 94 HeapEntry; … … 290 290 { 291 291 int j; 292 long num_entries, word_num;293 unsignedlong count, doc_count, invf_ptr, invf_len;292 mg_s_long num_entries, word_num; 293 mg_u_long count, doc_count, invf_ptr, invf_len; 294 294 int weight_to_apply, stem_to_apply; 295 295 int method_using = -1; … … 408 408 { 409 409 int i; 410 u_long max_doc_count = 0;410 mg_u_long max_doc_count = 0; 411 411 412 412 /* get the maximum doc count */ … … 748 748 for (i = 0; i < ST->no_of_items; i++, ide = SP_get_next (ST)) 749 749 { 750 u_long SeekPos, Len;750 mg_u_long SeekPos, Len; 751 751 float Weight; 752 752 if (!ide->Sum) … … 777 777 for (i = 0; i < qd->sd->sdh.num_of_docs; i++, fptr++) 778 778 { 779 u_long SeekPos, Len;779 mg_u_long SeekPos, Len; 780 780 float Weight; 781 781 if (!*fptr) … … 803 803 for (ideh = HT->Head; ideh; ideh = ideh->next) 804 804 { 805 u_long SeekPos, Len;805 mg_u_long SeekPos, Len; 806 806 float Weight; 807 807 if (!ideh->IDE.Sum) … … 829 829 for (i = 0; i < LT->num; i++, ide++) 830 830 { 831 u_long SeekPos, Len;831 mg_u_long SeekPos, Len; 832 832 float Weight; 833 833 if (!ide->Sum)
Note:
See TracChangeset
for help on using the changeset viewer.