2014-03-08, 18:04:10
(2014-03-08, 06:08:35)sbatko Wrote: I wrote a plugin that allows indexing / search posts by I18N Search plugin.
http://get-simple.info/extend/plugin/i18...posts/776/
Great! I never found the time to look into this, I'm glad someone finally made this ;-)
(2014-03-08, 06:08:35)sbatko Wrote: Now the question is: how to call a re-index after adding, deleting or editing a post? I18N Search uses changedata-save and page-delete.
I think it could be done by checking (perhaps at the header hook) if file data/other/i18n_word_index.txt is older than data/other/news_manager/posts.xml
(2014-03-08, 06:08:35)sbatko Wrote: There is a chance that the News Manager also generate these events?
Plugin itself is not able to do this
I suppose could add a hook for this, like nm-cache-updated