0
0
Fork 0

fix invalid fmt string using analysis.Analyzer

This commit is contained in:
Donald Huang 2015-08-03 17:50:28 +00:00
parent 7456842b04
commit 587bed442d
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ func (t *TextField) Value() []byte {
}
func (t *TextField) GoString() string {
return fmt.Sprintf("&document.TextField{Name:%s, Options: %s, Analyzer: %s, Value: %s, ArrayPositions: %v}", t.name, t.options, t.analyzer, t.value, t.arrayPositions)
return fmt.Sprintf("&document.TextField{Name:%s, Options: %s, Analyzer: %v, Value: %s, ArrayPositions: %v}", t.name, t.options, t.analyzer, t.value, t.arrayPositions)
}
func NewTextField(name string, arrayPositions []uint64, value []byte) *TextField {