Describe the bug
Searching does not return results matching content stored in the subTitle and navTitle fields, even though both fields are correctly indexed in Solr. The root cause is a case mismatch between the Solr schema and the TypoScript configuration. The schema (general_schema_fields.xml) defines the fields as subTitle and navTitle (camelCase), but the TypoScript references them as subtitle and navtitle (all lowercase). Since Solr field names are case-sensitive, the fields are indexed correctly but never included in the actual search query.
To Reproduce
Steps to reproduce the behavior:
- Index a page that has a subtitle set.
- Search for a keyword that only appears in the subtitle.
- No results are returned.
Expected behavior
Search results include documents where the search term matches content in subTitle or navTitle.
Additional context
Configuration/TypoScript/Solr/setup.typoscript references subtitle and navtitle in four places — queryFields, phrase.fields, bigramPhrase.fields, and trigramPhrase.fields — while the actual field names defined in Resources/Private/Solr/configsets/ext_solr_14_0_0/conf/general_schema_fields.xml are subTitle (line 101) and navTitle (line 102).
Describe the bug
Searching does not return results matching content stored in the subTitle and navTitle fields, even though both fields are correctly indexed in Solr. The root cause is a case mismatch between the Solr schema and the TypoScript configuration. The schema (general_schema_fields.xml) defines the fields as subTitle and navTitle (camelCase), but the TypoScript references them as subtitle and navtitle (all lowercase). Since Solr field names are case-sensitive, the fields are indexed correctly but never included in the actual search query.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Search results include documents where the search term matches content in subTitle or navTitle.
Additional context
Configuration/TypoScript/Solr/setup.typoscript references subtitle and navtitle in four places — queryFields, phrase.fields, bigramPhrase.fields, and trigramPhrase.fields — while the actual field names defined in Resources/Private/Solr/configsets/ext_solr_14_0_0/conf/general_schema_fields.xml are subTitle (line 101) and navTitle (line 102).