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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None
    • 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

            Unassigned Unassigned
            9dcdb0dd-5caa-459b-93b0-1ce97332c3fa@accounts.ibexa.co Hannes Giesenow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: