Skip to content

Commit

Permalink
Fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavdangeti committed Feb 13, 2024
1 parent a0cb65a commit 5c7445c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions index_impl.go
Expand Up @@ -717,11 +717,7 @@ func LoadAndHighlightFields(hit *search.DocumentMatch, req *SearchRequest,
if len(req.Fields) > 0 || highlighter != nil {
doc, err := r.Document(hit.ID)
if err == nil && doc != nil {
<<<<<<< HEAD
if len(req.Fields) > 0 && hit.Fields == nil {
=======
if len(req.Fields) > 0 {
>>>>>>> origin/master
totalStoredFieldsBytes = doc.StoredFieldsBytes()
fieldsToLoad := deDuplicate(req.Fields)
for _, f := range fieldsToLoad {
Expand Down

0 comments on commit 5c7445c

Please sign in to comment.