scorch mem segment comments consistency
This commit is contained in:
parent
4d71e901e8
commit
d777d7c365
|
@ -24,7 +24,7 @@ import (
|
|||
"github.com/blevesearch/bleve/index"
|
||||
)
|
||||
|
||||
// NewFromAnalyzedDocs places the analyzed document mutations into this segment
|
||||
// NewFromAnalyzedDocs places the analyzed document mutations into a new segment
|
||||
func NewFromAnalyzedDocs(results []*index.AnalysisResult) *Segment {
|
||||
s := New()
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ type Segment struct {
|
|||
FieldsInv []string
|
||||
|
||||
// term dictionary
|
||||
// field id -> term -> posting id + 1
|
||||
// field id -> term -> postings list id + 1
|
||||
Dicts []map[string]uint64
|
||||
|
||||
// term dictionary keys
|
||||
|
@ -54,7 +54,7 @@ type Segment struct {
|
|||
DictKeys [][]string
|
||||
|
||||
// Postings list
|
||||
// Postings list id -> Postings bitmap
|
||||
// postings list id -> Postings bitmap
|
||||
Postings []*roaring.Bitmap
|
||||
|
||||
// Postings List has locations
|
||||
|
|
Loading…
Reference in New Issue