0
0
Fork 0

Review feedback

This commit is contained in:
Casey Muller 2017-05-25 08:32:10 -07:00 committed by GitHub
parent 875e19ebd9
commit 68b07c9e09
1 changed files with 2 additions and 2 deletions

View File

@ -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"`
}