0
0
Fork 0

fix rendering of non-text fields

This commit is contained in:
Marty Schoch 2015-01-19 15:39:43 -05:00
parent 3e4969efbc
commit 3ea1894dea
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ func (sr *SearchResult) String() string {
for otherFieldName, otherFieldValue := range hit.Fields {
if _, ok := hit.Fragments[otherFieldName]; !ok {
rv += fmt.Sprintf("\t%s\n", otherFieldName)
rv += fmt.Sprintf("\t\t%s\n", otherFieldValue)
rv += fmt.Sprintf("\t\t%v\n", otherFieldValue)
}
}
}