Ticket #181 (new enhancement)
Optional Termlist Table
| Reported by: | olly | Owned by: | nobody |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1.0 |
| Component: | Backend-Chert | Version: | SVN trunk |
| Severity: | minor | Keywords: | |
| Cc: | richard | Blocked By: | |
| Operating System: | All | Blocking: |
Description (last modified by richard) (diff)
The termlist table should be optional - without it, documents can't be deleted or replaced, and query expansion couldn't work, but most other things could be made to work.
Things which will now work:
- Database::alldocs_begin() - no longer uses the termlist.
- Database::get_doclength() - uses the document lengths stored in the postlist.
Things which currently use it:
- Determining the percentage scores when the top document doesn't match all the query terms.
Things which wouldn't work:
- WritableDatabase::delete_document()
- WritableDatabase::replace_document() if the document exists already.
- Database::termlist_begin()
- Document::termlist_begin()
- Document::termlist_count()
- Enquire::get_eset()
Change History
Note: See
TracTickets for help on using
tickets.
