From 587bed442db505007438ab2ec4fd836a54e69ea0 Mon Sep 17 00:00:00 2001 From: Donald Huang Date: Mon, 3 Aug 2015 17:50:28 +0000 Subject: [PATCH] fix invalid fmt string using analysis.Analyzer --- document/field_text.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document/field_text.go b/document/field_text.go index 4dfcace4..45d3063a 100644 --- a/document/field_text.go +++ b/document/field_text.go @@ -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 {