Home
last modified time | relevance | path

Searched hist:e1e1a7e012189660a2cfd7631e82234b5ae92f69 (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/inc/
H A Dindexer.phpe1e1a7e012189660a2cfd7631e82234b5ae92f69 Sun Jan 23 00:52:31 UTC 2011 Michael Hamann <michael@content-space.de> Indexer v3 Rewrite: fix addMetaKeys and locking

This fixes addMetaKeys so it actually removes values. This also changes
the functionality of the function: It now updates the key for the page
with the current value instead of adding new values as this will be the
default use case. A new parameter could be added to restore the "old"
behavior when needed.
addMetaKeys now only saves the index when the content has really been
changed.
Furthermore no empty number is added anymore to the reverse index when
it has been empty previously.
addMetaKeys now releases the lock again and really fails when the lock
can't be gained.