apache / apache/answer-plugins
After turning on `blocking`, the search-meilisearch plug-in cannot search for answers to new questions.
- 主要语言
- Go
- 星标
- 131
- 派生
- 75
- PR 合并指标
- 30 天内没有已合并 PR
描述
# system introduction
Answer version: 2.2.5
Answer plug-in: the latest version of the plug-in repository
Running method: Build Docker image by yourself, with plug-in
search-meilisearch :1.2.5
## Build Dockerfile
```
FROM apache/answer as answer-builder
RUN apk --no-cache add \
build-base git bash nodejs npm go && \
npm install -g pnpm
RUN answer build \
--with github.com/apache/incubator-answer-plugins/search-meilisearch \
--with github.com/apache/incubator-answer-plugins/cache-redis \
--with github.com/apache/incubator-answer-plugins/storage-s3 \
--output /usr/bin/new_answer
FROM apache/answer
COPY --from=answer-builder /usr/bin/new_answer /usr/bin/answer
RUN chmod 755 /entrypoint.sh
VOLUME /data
EXPOSE 80
ENTRYPOINT ["/entrypoint.sh"]
```
## Problem description
After the search-meilisearch plugin is configured normally, the meilisearch search function can be used (new questions and replies to questions can be searched), but when `blocking` is turned on, the content of new questions can be searched, but replies to the corresponding questions cannot be searched. When `blocking` is not turned on, both questions and answers can be searched.
### Summary
When the search-meilisearch plugin is turned on with `blocking`, answers to new questions cannot be searched.
贡献指南
这个仓库没有索引到贡献指南
调研方向
从 1.2.5 版本的 search-meilisearch 插件开始,使用提供的 Dockerfile 和 blocking 配置重现该问题。在启用 blocking 的情况下,比较对新问题及其答案进行索引和搜索的结果;当 Meilisearch 在该模式下返回新问题的答案时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- docker, go
- 领域
- backend, search
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100