0
0
Fork 0

scorch mem segment comments consistency

This commit is contained in:
Steve Yen 2018-01-15 11:06:44 -08:00
parent 4d71e901e8
commit d777d7c365
2 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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