From 6c4e9623cc789fcca66fcdd08404b64a1f6a4467 Mon Sep 17 00:00:00 2001 From: Jui-Nan Lin Date: Mon, 14 Sep 2020 18:40:07 +0800 Subject: fix: use Base36 for all code indexers (#12830) --- modules/indexer/code/bleve.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'modules/indexer/code/bleve.go') diff --git a/modules/indexer/code/bleve.go b/modules/indexer/code/bleve.go index 81373bf3da..9caa6528f7 100644 --- a/modules/indexer/code/bleve.go +++ b/modules/indexer/code/bleve.go @@ -37,11 +37,6 @@ import ( const unicodeNormalizeName = "unicodeNormalize" const maxBatchSize = 16 -// indexerID a bleve-compatible unique identifier for an integer id -func indexerID(id int64) string { - return strconv.FormatInt(id, 36) -} - // numericEqualityQuery a numeric equality query for the given value and field func numericEqualityQuery(value int64, field string) *query.NumericRangeQuery { f := float64(value) -- cgit v1.2.3