Bare "/" is treated as regex
Author: tv2-thomasCreated Jun 29, 2026Updated Jun 29, 2026
Im using bleve to search for paths, and one of our paths is "/". From what I can tell the escaper will always make \/ into "/" and the field filter only checks strings.HasPrefix(/) && strings.HasSuffix(/). Without validating length, making this impossible to filter for natively.
Source: blevesearch/bleve