Changeset 62
- Timestamp:
- 1999-09-17 15:47:15 (9 years ago)
- Files:
-
- 1 modified
-
trunk/xapian-core/backends/da/da_database.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xapian-core/backends/da/da_database.cc
r61 r62 14 14 termfreq = tf; 15 15 postlist = pl; 16 termweight = log((size - tf) / tf); 16 17 termweight = (size - tf + 0.5) / (tf + 0.5); 18 if(termweight < 1) termweight = 1; 19 20 termweight = log(termweight); 17 21 18 22 printf("(dbsize, termfreq) = (%4d, %4d)\t=> termweight = %f\n",
