Skip to content

Commit

Permalink
Fix multi-field search for documents
Browse files Browse the repository at this point in the history
  • Loading branch information
theguy147 committed Sep 10, 2021
1 parent 65b027c commit 3014e80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/flexsearch.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ Index.prototype.search = function(query, limit, options){
offset = options["offset"] || 0;
context = options["context"];
suggest = SUPPORT_SUGGESTION && options["suggest"];
query = options["query"] || query;
}

if(query){
Expand Down

0 comments on commit 3014e80

Please sign in to comment.