Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-31200

SolR fieldMapper fulltext not working as described in the guide

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      ezsystems/ezplatform-solr-search-engine v1.7.1

      ezsystems/ezpublish-kernel v7.5.5

      SolR 6.6.6

      Description

      I tried to follw the example of https://doc.ezplatform.com/en/2.5/guide/solr/#extending-the-solr-search-engine-bundle and ran into an error, saying there is no field "fulltext_fulltext" in solr.

      I took the schema.xml from vendor/ezsystems/ezplatform-solr-search-engine/lib/Resources/config/solr/schema.xml which indeed does not contain a dynamic field "*_fulltext".

      In vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Search/Common/FieldNameGenerator.php there is a fieldNameMapping from "ez_fulltext" to "fulltext". There are even some more mappings, not existing in schema.xml (e.g. *_doc and *_h)

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            hannes.giesenow@elbformat.de Hannes Giesenow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: