[Xapian-tickets] [Xapian] #181: Optional Termlist Table
Xapian
nobody at xapian.org
Wed May 6 02:34:57 BST 2009
#181: Optional Termlist Table
---------------------------+------------------------------------------------
Reporter: olly | Owner: olly
Type: enhancement | Status: assigned
Priority: normal | Milestone: 1.1.4
Component: Backend-Chert | Version: SVN trunk
Severity: minor | Resolution:
Keywords: | Blockedby: 363
Platform: All | Blocking:
---------------------------+------------------------------------------------
Description changed by olly:
Old description:
> 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()
New description:
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 (see #363).
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()
--
--
Ticket URL: <http://trac.xapian.org/ticket/181#comment:13>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list