Skip to content

fix: resolve local plugin paths to absolute and enhance module replacement logic#1520

Open
hgaol wants to merge 1 commit intoapache:devfrom
hgaol:1519
Open

fix: resolve local plugin paths to absolute and enhance module replacement logic#1520
hgaol wants to merge 1 commit intoapache:devfrom
hgaol:1519

Conversation

@hgaol
Copy link
Copy Markdown
Member

@hgaol hgaol commented Apr 12, 2026

Fix #1519 .

works with below cmd.

build-local-vector-plugins:
	@cd new_answer/answer_with_plugin && \
	CGO_ENABLED=0 go build -o answer ./... && \
	ANSWER_MODULE=$$(pwd)/../../ ./answer build \
	  --with "github.com/apache/answer-plugins/vector-search-pgvector=$$(pwd)/../../../answer-plugins/vector-search-pgvector" \
	  --with "github.com/apache/answer-plugins/vector-search-elasticsearch=$$(pwd)/../../../answer-plugins/vector-search-elasticsearch" \
	  --with "github.com/apache/answer-plugins/vector-search-weaviate=$$(pwd)/../../../answer-plugins/vector-search-weaviate" \
	  --with "github.com/apache/answer-plugins/vector-search-milvus=$$(pwd)/../../../answer-plugins/vector-search-milvus" \
	  --with "github.com/apache/answer-plugins/vector-search-qdrant=$$(pwd)/../../../answer-plugins/vector-search-qdrant" \
	  --with "github.com/apache/answer-plugins/vector-search-chromadb=$$(pwd)/../../../answer-plugins/vector-search-chromadb" \
	  --with "github.com/apache/answer-plugins/vector-search-memory=$$(pwd)/../../../answer-plugins/vector-search-memory" \
	  --output ./new_answer_with_plugins
image

@LinkinStars LinkinStars self-requested a review April 13, 2026 11:19
@LinkinStars LinkinStars self-assigned this Apr 13, 2026
@LinkinStars LinkinStars added this to the v2.0.1 milestone Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants