
Public Member Functions | |
| PostingChanges (Xapian::docid did, Xapian::termcount wdf) | |
| Constructor for an added posting. | |
| PostingChanges (Xapian::docid did, Xapian::termcount wdf, bool) | |
| Constructor for a removed posting. | |
| PostingChanges (Xapian::docid did, Xapian::termcount old_wdf, Xapian::termcount new_wdf) | |
| Constructor for an updated posting. | |
| void | add_posting (Xapian::docid did, Xapian::termcount wdf) |
| Add a posting. | |
| void | remove_posting (Xapian::docid did, Xapian::termcount wdf) |
| Remove a posting. | |
| void | update_posting (Xapian::docid did, Xapian::termcount old_wdf, Xapian::termcount new_wdf) |
| Update a posting. | |
| Xapian::termcount_diff | get_tfdelta () const |
| Get the term frequency delta. | |
| Xapian::termcount_diff | get_cfdelta () const |
| Get the collection frequency delta. | |
Private Attributes | |
| Xapian::termcount_diff | tf_delta |
| Change in term frequency,. | |
| Xapian::termcount_diff | cf_delta |
| Change in collection frequency. | |
| std::map< Xapian::docid, Xapian::termcount > | pl_changes |
| Changes to this term's postlist. | |
Friends | |
| class | BrassPostListTable |
Definition at line 43 of file brass_inverter.h.
| Inverter::PostingChanges::PostingChanges | ( | Xapian::docid | did, | |
| Xapian::termcount | wdf | |||
| ) | [inline] |
Constructor for an added posting.
Definition at line 57 of file brass_inverter.h.
References pl_changes.
| Inverter::PostingChanges::PostingChanges | ( | Xapian::docid | did, | |
| Xapian::termcount | wdf, | |||
| bool | ||||
| ) | [inline] |
Constructor for a removed posting.
Definition at line 64 of file brass_inverter.h.
References DELETED_POSTING, and pl_changes.
| Inverter::PostingChanges::PostingChanges | ( | Xapian::docid | did, | |
| Xapian::termcount | old_wdf, | |||
| Xapian::termcount | new_wdf | |||
| ) | [inline] |
Constructor for an updated posting.
Definition at line 71 of file brass_inverter.h.
References pl_changes.
| void Inverter::PostingChanges::add_posting | ( | Xapian::docid | did, | |
| Xapian::termcount | wdf | |||
| ) | [inline] |
Add a posting.
Definition at line 79 of file brass_inverter.h.
References cf_delta, pl_changes, and tf_delta.
| Xapian::termcount_diff Inverter::PostingChanges::get_cfdelta | ( | ) | const [inline] |
Get the collection frequency delta.
Definition at line 105 of file brass_inverter.h.
References cf_delta.
Referenced by BrassPostListTable::merge_changes().
| Xapian::termcount_diff Inverter::PostingChanges::get_tfdelta | ( | ) | const [inline] |
Get the term frequency delta.
Definition at line 102 of file brass_inverter.h.
References tf_delta.
Referenced by BrassPostListTable::merge_changes().
| void Inverter::PostingChanges::remove_posting | ( | Xapian::docid | did, | |
| Xapian::termcount | wdf | |||
| ) | [inline] |
Remove a posting.
Definition at line 87 of file brass_inverter.h.
References cf_delta, DELETED_POSTING, pl_changes, and tf_delta.
| void Inverter::PostingChanges::update_posting | ( | Xapian::docid | did, | |
| Xapian::termcount | old_wdf, | |||
| Xapian::termcount | new_wdf | |||
| ) | [inline] |
Update a posting.
Definition at line 95 of file brass_inverter.h.
References cf_delta, and pl_changes.
friend class BrassPostListTable [friend] |
Definition at line 44 of file brass_inverter.h.
Change in collection frequency.
Definition at line 50 of file brass_inverter.h.
Referenced by add_posting(), get_cfdelta(), remove_posting(), and update_posting().
std::map<Xapian::docid, Xapian::termcount> Inverter::PostingChanges::pl_changes [private] |
Changes to this term's postlist.
Definition at line 53 of file brass_inverter.h.
Referenced by add_posting(), BrassPostListTable::merge_changes(), PostingChanges(), remove_posting(), and update_posting().
Change in term frequency,.
Definition at line 47 of file brass_inverter.h.
Referenced by add_posting(), get_tfdelta(), and remove_posting().