Merge pull request #294 from GuySartorelli/patch-2

FIX: Always store the default field to support highlighting
This commit is contained in:
Steve Boyd 2021-08-06 09:53:55 +12:00 committed by GitHub
commit 3e0a12e3f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ abstract class SolrIndex extends SearchIndex
// Add the fulltext collation field
$df = $this->getDefaultField();
$xml[] = "<field name='{$df}' type='htmltext' indexed='true' stored='{$stored}' multiValued='true' />" ;
$xml[] = "<field name='{$df}' type='htmltext' indexed='true' stored='true' multiValued='true' />" ;
// Add the user-specified fields