Cleans the tests

This commit is contained in:
2016-01-21 14:09:01 +01:00
parent 925a0a21ed
commit dc0830a559
2 changed files with 10 additions and 7 deletions

View File

@@ -158,6 +158,7 @@ func (i *bleveIndexer) Search(query string) ([]*Album, error) {
blq := bleve.NewQueryStringQuery(query)
search := bleve.NewSearchRequest(blq)
search.Highlight = bleve.NewHighlight()
searchResults, err := i.bl.Search(search)
if err != nil {
return nil, fmt.Errorf("Could not perform search on the index: %s", err)