Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
caseymrm authored May 25, 2017
1 parent 875e19e commit 68b07c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions search/search.go
Original file line number Diff line number Diff line change
@@ -39,11 +39,11 @@ type Location struct {
// Pos is the position of the term within the field, starting at 1
Pos uint64 `json:"pos"`

// Start and End are the character offsets of the term in the field
// Start and End are the byte offsets of the term in the field
Start uint64 `json:"start"`
End uint64 `json:"end"`

// ArrayPositions contains the positions of the term within each array of subdocuments.
// ArrayPositions contains the positions of the term within any elements.
ArrayPositions ArrayPositions `json:"array_positions"`
}

0 comments on commit 68b07c9

Please sign in to comment.