feat: move page
This commit is contained in:
1 parent
daa8174d7f
commit
62d1d7a1df
23 files changed
+451
-99
No files matched your search
@@ -210,7 +210,7 @@ module.exports = {
|
||||
await this.client.delete({
|
||||
index: this.config.indexName,
|
||||
type: '_doc',
|
||||
id: page.sourceHash,
|
||||
id: page.hash,
|
||||
refresh: true
|
||||
})
|
||||
await this.client.index({
|
||||
@@ -219,7 +219,7 @@ module.exports = {
|
||||
id: page.destinationHash,
|
||||
body: {
|
||||
suggest: this.buildSuggest(page),
|
||||
locale: page.localeCode,
|
||||
locale: page.destinationLocaleCode,
|
||||
path: page.destinationPath,
|
||||
title: page.title,
|
||||
description: page.description,
|
||||
|
||||
Reference in new issue
Block a user