Skip to content

Commit 11376e0

Browse files
committed
Fields as options + codeowners
1 parent 58e3ea5 commit 11376e0

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/CODEOWNERS

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Laravel Elasticsearch Package Code Ownership
2+
# Defines who must review changes to specific parts of the codebase.
3+
4+
# Package metadata and config
5+
/composer.json @pdphilip
6+
/LICENSE @pdphilip
7+
/.github/ @pdphilip
8+
/README.md @pdphilip
9+
10+
# Core source code
11+
/src/ @pdphilip

src/Query/Options/SearchOptions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
* @method $this fuzzyRewrite(string $value) Not allowed in phrase or phrase_prefix.
2424
* @method $this lenient(bool $value) Not allowed in phrase_prefix.
2525
* @method $this zeroTermsQuery(string $value) Only for best_fields, most_fields, phrase.
26+
* @method $this fields(array $fields)
2627
* @method $this constantScore(bool $value) Only for best_fields, most_fields, phrase.
2728
*/
2829
class SearchOptions extends QueryOptions

0 commit comments

Comments
 (0)