{"issue":{"created_at":"2011-11-29T05:09:54Z","state":"closed","updated_at":"2011-11-29T05:10:03Z","user":{"gravatar_id":"e80c46e273aeef40f4fee102a03522cf","id":676671,"url":"https://api.github.com/users/computino","avatar_url":"https://secure.gravatar.com/avatar/e80c46e273aeef40f4fee102a03522cf?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"computino"},"comments":7,"body":"I currently have the problem that neither changed events nor my own extensions which make use of the search engine can take enough influence on updating the search index. I tried deleting the matching entry in tl_search and all child entries at tl_search_index but still there are 2 problems: \n- the search additionally created a tmp-file with the search results as serialized array which continues to list the deleted element.\n- the new element cannot be added instantly to the search.\n\nThe latter is not that important, the index will be rebuild eventually (when? I could not really find it), but listing invalid entries is bad mojo for the user. In case of events the visitor just gets \"invalid event id\".\n\nWould it be possible to add 2 new functions Search->removeFromIndex() and Search->addToIndex() which both get the URL to add/delete? Both should be usable within the core (for changed articles and pages, events etc.) and in third-party extensions.\n\nMost of this is a feature request, not changing the index when an event gets updated may be a bug report.\n\n--- _Originally created on January 24th, 2009, at 07:02pm (ID 447)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"id":2377701,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/test/labels/Feature"},{"name":"framework","color":"e6e6e6","url":"https://api.github.com/repos/contao/test/labels/framework"}],"number":447,"title":"search index update possible for own extensions","closed_at":"2011-11-29T05:10:03Z","html_url":"https://github.com/contao/test/issues/447","url":"https://api.github.com/repos/contao/test/issues/447","milestone":null},"action":"closed"}