https://bugs.kde.org/show_bug.cgi?id=400704

--- Comment #1 from Stefan Brüns <stefan.bru...@rwth-aachen.de> ---
Unfortunately even the two most fundamental databases in baloo, the Terms and
the FileNameTerms DBs, show O(M^2) behaviour on updates. Everytime e.g. a "pdf"
is changed, the associated value (i.e. the IDs of all matching documents) for
the "pdf" term is updated.

An update may happen in two cases:
1. an existing file is appended, tagged, renamed ...
2. an existing file is replaced by an updated one (i.e. application creates a
temporary file on saving and atomically replaces the old one).

For (1.), the update can be minimized, i.e. only updating the terms which have
actually changed. I have some experimental patches for this.

For (2.), the database scheme has to be changed significantly.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to