mirror of https://github.com/requarks/wiki
fix: search engine broken when renaming or moving pages (#2815)
For building suggest in elasticsearch, the safeContent field will be splitted into arrays. If the page is renamed or moved, the server will throw error: "Cannot read property 'split' of Undefined", and the index will be broken. Here two lines are added to fix this issue.pull/2829/head
parent
a1f1cd7356
commit
d7d00b44f6
Loading…
Reference in new issue