MCPcopy Index your code
hub / github.com/apache/answer-plugins

github.com/apache/answer-plugins @v1.2.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.2.1 ↗ · + Follow
172 symbols 362 edges 48 files 11 documented · 6%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Apache Answer Official Plugins

Apache Answer Official Plugins are built to enhance the feature of Answer.

LICENSE Language Language Go Report Card Discord

Types of plugin

Our plugin is under development and the interface definition of the plugin can be viewed at this link.

Connector

The Connector plugin helps us to implement third-party login functionality. For example: Google or GitHub OAuth login.

Storage (preview)

The Storage plugin helps us to upload files to third-party storage. For example: Aliyun OSS or AWS S3.

Cache (preview)

Using the Cache plugin allows you to store cached data in a different location. For example: Redis or Memcached.

Search (preview)

Support using search plugin to speed up the search of question answers. For example: Elasticsearch or Meilisearch.

Filter (coming soon)

Render (coming soon)

Exporter (coming soon)

Importer (coming soon)

How to build the Answer with your need plugins?

Learn more about the plugin, please visit our docs.

Want to try the plugin early?

If you want to try it out earlier, you can use the all-in-one docker image. Note that this image will contain the latest version of answer and all official plugins, which may not have been released yet.

$ docker run -d -p 9080:80 -v answer-data:/data --name answer apache/incubator-answer:all-in-one

Extension points exported contracts — how you extend this code

ChartProps (Interface)
(no doc)
editor-chart/Chart.tsx
FormulaProps (Interface)
(no doc)
editor-formula/Formula.tsx

Core symbols most depended-on inside this repo

createTextInput
called by 14
connector-basic/basic.go
getIndex
called by 10
search-algolia/algolia.go
getIndexName
called by 6
search-elasticsearch/es.go
Do
called by 5
search-elasticsearch/es_log.go
getIndexName
called by 4
search-algolia/algolia.go
waitForTask
called by 4
search-meilisearch/meilisearch.go
NewOperator
called by 4
search-elasticsearch/es_operator.go
QueryDoc
called by 4
search-elasticsearch/es_operator.go

Shape

Method 110
Function 33
Struct 27
Interface 2

Languages

Go92%
TypeScript8%

Modules by API surface

search-elasticsearch/es.go19 symbols
search-meilisearch/meilisearch.go17 symbols
cache-redis/redis.go14 symbols
search-algolia/algolia.go13 symbols
connector-basic/basic.go13 symbols
connector-google/google.go12 symbols
connector-github/github.go12 symbols
storage-s3/s3.go11 symbols
storage-aliyunoss/aliyunoss.go11 symbols
search-elasticsearch/es_operator.go6 symbols
search-elasticsearch/es_log.go5 symbols
editor-formula/Formula.tsx5 symbols

For agents

$ claude mcp add answer-plugins \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact