Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unwanted side effects of boost, and cascading of combineWith
The `boost` search option was mistakenly causing boosted fields to be included in search, even when they were not in the `fields` search option. The `combineWith` search option was not properly taking its default from the `SearchOptions` argument when using `search` with a `QuerySpec` tree. Both issues are fixed by this commit, that also adds corresponding tests.
- Loading branch information
Showing
2 changed files
with
51 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters