Closed flipmcf closed 2 years ago
Sledgehammer attempt - just call reindexObject() and don't provide the index names.
Even better: https://docs.plone.org/develop/plone/content/manipulating.html
Well, it seems this request is in direct conflict with an opinion from ten years ago: https://github.com/collective/Products.PloneKeywordManager/commit/c7e3a478ca0f2a8bff7dd9aceac9ad18fc865be1
I'm tempted to go back an reindex everything, but obviously that bothered someone... maybe doing an intelligent search for SearchableText indexes that use the KeywordIndex in question is the right answer.
Editing a config.py and adding the searchable text index into config.ALWAYS_REINDEX
is not an acceptable answer for modern Plone use. I guess we could use a configuration registry....
I'm still feeling that this (updating SearchableText Indexes) should be handled 'magically' by keyword manager.
I'd like this to go into https://github.com/collective/Products.PloneKeywordManager/pull/48 (potentially named 4.0.0) because it's coming from our customer and I think it's somewhere between extremely easy and relatively easy to implement.
http://localhost:8080/@@search?SearchableText=xxxx