FIX: Always store the default field to support highlighting

Fixes #249
This commit is contained in:
GuySartorelli 2021-02-24 16:54:19 +13:00 committed by GitHub
parent de107616fb
commit 69ba134ac2
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