apache / apache/answer-plugins

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

Open
#70 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
131
Forks
75
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the search-meilisearch plugin at version 1.2.5 and reproduce the issue using the provided Dockerfile and blocking configuration. Compare indexing and searching for a new question and its answer with blocking enabled; done means answers to new questions are returned by Meilisearch in that mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
backend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.