Skip to content

Commit

Permalink
Merge pull request #365 from ianshward/enrich-multi-field
Browse files Browse the repository at this point in the history
Fix enrich on multi-field search
  • Loading branch information
ts-thomas authored Jan 6, 2024
2 parents 8941276 + 2e18461 commit 13e3b44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ Document.prototype.search = function(query, limit, options, _resolve){
key = field_options["field"];
query = field_options["query"] || query;
limit = field_options["limit"] || limit;
enrich = field_options["enrich"] || enrich;
}

if(promises){
Expand Down

0 comments on commit 13e3b44

Please sign in to comment.