diff options
author | Jui-Nan Lin <jnlinn@gmail.com> | 2020-09-14 18:40:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-14 13:40:07 +0300 |
commit | 6c4e9623cc789fcca66fcdd08404b64a1f6a4467 (patch) | |
tree | 5486becb100038eaea4060f92863a5ddf5a9b909 /modules/indexer/code/bleve.go | |
parent | 53b656582eb9a11c8108c3d9f424971b7ac72e4d (diff) | |
download | gitea-6c4e9623cc789fcca66fcdd08404b64a1f6a4467.tar.gz gitea-6c4e9623cc789fcca66fcdd08404b64a1f6a4467.zip |
fix: use Base36 for all code indexers (#12830)
Diffstat (limited to 'modules/indexer/code/bleve.go')
-rw-r--r-- | modules/indexer/code/bleve.go | 5 |
1 files changed, 0 insertions, 5 deletions
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) |