Getting Started
ACOR requires Go 1.25 or newer and Redis 3.0 or newer, or Valkey 7.2 or newer.
go get github.com/skyoo2003/acor/pkg/acor@latest
package main
import (
"fmt"
"github.com/skyoo2003/acor/pkg/acor"
)
func main() {
ac, err := acor.Create(&acor.AhoCorasickArgs{
Addr: "localhost:6379",
Name: "sample",
})
if err != nil {
panic(err)
}
defer ac.Close()
_, _ = ac.Add("redis")
matched, _ := ac.Find("redis-backed matching")
fmt.Println(matched)
}
Explore the Documentation
Getting Started
Install ACOR and build your first matcher.
Guides
Use batch, parallel, and Redis-backed engines.
API Reference
Review public APIs and storage schemas.
Operations
Deploy, monitor, and troubleshoot ACOR.
Server
Serve a collection over HTTP or gRPC.
CLI
Drive a collection from the shell, nineteen commands.
Extending
Why Redis is the only backend, and how to test without one.