Opened 7 hours ago
Last modified 7 hours ago
#840 new enhancement
provide bulk term deletion API to remove multiple terms from a document
Reported by: | bremner | Owned by: | Olly Betts |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Other | Version: | |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Operating System: | All |
Description
In an email discussion about improving the performance of _notmuch_message_remove_terms, Olly had two suggestions:
A variant of remove_term() which took an iterator could avoid [looking strings up] (and automatically increment the iterator for you).
We could also/instead provide a method to directly remove all terms with a specified prefix (or maybe between two specified terms) from the document, which is probably better for this specific case as I think it can be done even more efficiently.
Change History (1)
comment:1 by , 7 hours ago
Summary: | provide bulk term deletion API → provide bulk term deletion API to remove multiple terms from a document |
---|
Note:
See TracTickets
for help on using tickets.