# Algolia: initialize 不工作 (rails 中断 - 不知道如何构建任务)

**URL:** https://meta.discourse.org/t/algolia-initialize-not-working-rails-aborted-dont-know-how-to-build-task/253293
**Category:** Support
**Tags:** algolia-search
**Created:** [2023年一月30日 09:54 UTC](https://meta.discourse.org/t/algolia-initialize-not-working-rails-aborted-dont-know-how-to-build-task/253293 "2023-01-30T09:54:08Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2023年二月24日 13:10 UTC](https://meta.discourse.org/t/algolia-initialize-not-working-rails-aborted-dont-know-how-to-build-task/253293/13 "2023-02-24T13:10:56Z")

</div>

今天早些时候对重新索引和主题计数问题进行了错误修复：

> [@Algolia plugin broken: undefined method \`topic\_count'](https://meta.discourse.org/t/algolia-plugin-broken-undefined-method-topic-count/255962/3?u=jammydodger):
>
> Thank you for reporting @RGJ I have a fix for this in [https://github.com/discourse/discourse-algolia/pull/82](https://github.com/discourse/discourse-algolia/pull/82)

碰巧的是，这是否也解决了您的问题？

---

_[View the full topic](https://meta.discourse.org/t/algolia-initialize-not-working-rails-aborted-dont-know-how-to-build-task/253293)._
