apache / apache/answer-plugins

After turning on `blocking`, the search-meilisearch plug-in cannot search for answers to new questions.

Đang mở
#70 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Go
Star
131
Fork
75
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# 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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu với plugin search-meilisearch ở phiên bản 1.2.5 và tái hiện vấn đề bằng Dockerfile cùng cấu hình blocking được cung cấp. So sánh việc lập chỉ mục và tìm kiếm một câu hỏi mới cùng câu trả lời của câu hỏi đó khi blocking được bật; hoàn tất khi các câu trả lời cho câu hỏi mới được Meilisearch trả về trong chế độ đó.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
docker, go
Lĩnh vực
backend, search
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.