diff options
author | Paul Duncan <pabs@pablotron.org> | 2022-02-20 12:06:43 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2022-02-20 12:06:43 -0500 |
commit | 87c0c8d7ed4eb334dbd084d0ab0040589071b111 (patch) | |
tree | 269849b568fa5e27847af26c2ddf12e6bc36a815 /dbstore/cvesearchrow.go | |
parent | 14dc55d984a9791aeb7d242427a3d54f879f678c (diff) | |
download | cvez-87c0c8d7ed4eb334dbd084d0ab0040589071b111.tar.bz2 cvez-87c0c8d7ed4eb334dbd084d0ab0040589071b111.zip |
dbstore: shrink CVE FTS index (test index from 120M to 86M) by removing all IDs except cve_id, concatenating reference tags, and removing severities
Diffstat (limited to 'dbstore/cvesearchrow.go')
-rw-r--r-- | dbstore/cvesearchrow.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbstore/cvesearchrow.go b/dbstore/cvesearchrow.go index 4128347..91920b9 100644 --- a/dbstore/cvesearchrow.go +++ b/dbstore/cvesearchrow.go @@ -6,8 +6,8 @@ import ( // CveSearch() result type CveSearchRow struct { - Id int64 `json:"cve_id"` // internal database CVE ID - CveId feed.CveId `json:"nvd_cve_id"` // NVD CVE ID + Id int64 `json:"cve_id"` // CVE database ID + NvdId feed.CveId `json:"nvd_id"` // NVD CVE ID Description string `json:"description"` // CVE description (english) V3BaseScore feed.Score `json:"v3_base_score"` // CVSSv3 base score V3Severity feed.Severity `json:"v3_severity"` // CVSSv3 severity |