EncodeGeoTokens encodes the given list of tokens as geo tokens.
(tokens []string)
| 699 | |
| 700 | // EncodeGeoTokens encodes the given list of tokens as geo tokens. |
| 701 | func EncodeGeoTokens(tokens []string) { |
| 702 | for i := 0; i < len(tokens); i++ { |
| 703 | tokens[i] = encodeToken(tokens[i], GeoTokenizer{}.Identifier()) |
| 704 | } |
| 705 | } |
| 706 | |
| 707 | // EncodeRegexTokens encodes the given list of strings as regex tokens. |
| 708 | func EncodeRegexTokens(tokens []string) { |
no test coverage detected