fix: remove unused content_partial field from seeders
content_partial was introduced alongside a partialMatch() query that targeted it. That query was later switched to use the content field instead, but content_partial was never removed from the seeders, causing every document to store and index its content twice.
This commit is contained in:
parent
eeb091273d
commit
369ee504f3
|
|
@ -76,7 +76,6 @@ class CommentSeeder extends Seeder
|
|||
'id' => $this->type().':'.$model->id,
|
||||
'rawId' => $model->id,
|
||||
'content' => $model->content,
|
||||
'content_partial' => $model->content,
|
||||
'created_at' => $model->created_at?->toAtomString(),
|
||||
'updated_at' => $model->edited_at?->toAtomString(),
|
||||
'is_private' => $model->is_private,
|
||||
|
|
|
|||
|
|
@ -80,7 +80,6 @@ class DiscussionSeeder extends Seeder
|
|||
'id' => $this->type().':'.$model->id,
|
||||
'rawId' => $model->id,
|
||||
'content' => $model->title,
|
||||
'content_partial' => $model->title,
|
||||
'created_at' => $model->created_at?->toAtomString(),
|
||||
'updated_at' => $model->last_posted_at?->toAtomString(),
|
||||
'is_private' => $model->is_private,
|
||||
|
|
|
|||
Loading…
Reference in New Issue