Processes website content so they can be ranked.
goprocess retrieves unprocessed HTML pages from a crawl database, parses the content to extract and count term frequencies per URL, and stores the results in a process database for downstream ranking.
- Go 1.26+
- Docker & Docker Compose (for containerized deployment)
- PostgreSQL 16 (crawl database)
- PostgreSQL 16 (process database)
make localbuildmake up
# or
docker compose up -d --buildRemove Docker volumes and containers:
make cleanStop containers without removing volumes:
make downConfigure via environment variables:
CRAWL_DB_URL— crawl database connection string (default:postgres://user:pass@host.docker.internal:5432/mydb)PROCESS_DB_URL— process database connection string (default:postgres://user:pass@postgres:5432/goprocess)
The service processes pages in batches, parses HTML text (excluding script/style), counts term occurrences, and persists term counts to the process database.