Optional Chinese lexical helper. It uses the pure-Go
github.com/go-ego/gse
search-mode segmenter with the embedded default dictionary.
This binary is not linked into the default Discrawl release. Build it only when Chinese lexical fields are enabled.
go build -o discrawl-zh .The helper speaks the same newline-delimited JSON protocol as discrawl-kiwi.
Query requests add "query":true to the JSON request. The response includes
"groups":[["surface","base"],["required-term"]]: groups are conjoined,
while equivalent terms within one group are alternatives. Index requests
continue to return the flat tokens string. Build helpers from the same
Discrawl source revision as the CLI.