You configure the details of word-break analysis with four dgraph flags.
Keep in mind that word-break analysis must be enabled in order for these flags to have any effect.
The four dgraph flags are as follows:
To control the maximum number of word breaks to be added to or removed from a query, use the
--wb_maxbrks
flag. The default is one.To specify the minimum length for a new term created by word-break analysis, use the
--wb_minbrklen
flag. The default is two.To disable the ability of word-break analysis to remove breaks from the original term, use the
--wb_norbrk
flag.To disable the ability of word-break analysis to add breaks to the original term, use the
--wb_noibrk
flag.