Skip to content

Commit

Permalink
Change default field from _text to text
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Hermo committed Oct 27, 2019
1 parent 5f29e63 commit 6f9357b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Traits/IndexTraits/BaseIndexTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ trait BaseIndexTrait
/**
* @var string Default search field
*/
protected $defaultField = '_text';
protected $defaultField = 'text';
/**
* @var array Stored fields
*/
Expand All @@ -55,7 +55,7 @@ trait BaseIndexTrait
* @var array Fields to copy to the default fields
*/
protected $copyFields = [
'_text' => [
'text' => [
'*',
],
];
Expand Down

0 comments on commit 6f9357b

Please sign in to comment.