Skip to content

Commit

Permalink
Fix enrich on multi-field search
Browse files Browse the repository at this point in the history
Fixes #352
  • Loading branch information
ianshward committed Jan 4, 2023
1 parent 9abb781 commit 2e18461
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 2e18461

Please sign in to comment.