示例#1
0
void
PostPool_add_inversion(PostingPool *self, Inversion *inversion, 
                   i32_t doc_id, float doc_boost, 
                   float length_norm)
{
    Post_Add_Inversion_To_Pool(self->posting, self, inversion, self->type, 
        doc_id, doc_boost, length_norm);
}
示例#2
0
void
PostPool_Add_Inversion_IMP(PostingPool *self, Inversion *inversion,
                           int32_t doc_id, float doc_boost,
                           float length_norm) {
    PostingPoolIVARS *const ivars = PostPool_IVARS(self);
    Post_Add_Inversion_To_Pool(ivars->posting, self, inversion, ivars->type,
                               doc_id, doc_boost, length_norm);
}