Skip to content

Commit

Permalink
CV2-5082 move article indexing to presto
Browse files Browse the repository at this point in the history
  • Loading branch information
DGaffney committed Aug 17, 2024
1 parent 9913685 commit 3f540c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/article.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def send_to_alegre(id)
obj = self.find_by_id(id)
return if obj.project_media.nil?
obj.text_fields.each do |field|
::Bot::Alegre.send_field_to_similarity_index(obj.project_media, field)
::Bot::Alegre.relate_project_media_async(obj.project_media, field)
end unless obj.nil?
end
end
Expand Down

0 comments on commit 3f540c4

Please sign in to comment.