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

Contentquery field type fails with Solr Bundle enabled

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 2.5.10, 3.0.1
    • 3.0.0, 2.5.9
    • None

    Description

      Content query field type (from ezplatform-query-fieldtype) fails to index when the Solr Bundle is enabled. Example error for trying to index an object with a query field type in place:

      web@app.0:~$ ./bin/console ezplatform:reindex --content-ids=96
      Re-indexing started for search engine: eZ Platform Solr Search Engine
      
      
      Indexing list of content ID's (1), with commit
      11:20:18 ERROR     [app] Unable to index the content ["contentId" => "96","error" => "Field Type "ezcontentquery" is not indexable. Provide eZ\Publish\SPI\FieldType\Indexable implementation and register it with the "ezpublish.fieldType.indexable" tag."]
      
      
      Finished re-indexing
      web@app.0:~$ 

      Steps to reproduce:

      • Install clean eZ Platform
      • Enable Solr Bundle
      • Reindex to verify Solr is working as expected
      • Add a query field type to a content object
      • Create content
      • Run reindexing again
      • Expect failure

      Attachments

        Activity

          People

            Unassigned Unassigned
            jani.tarvainen@ibexa.co Jani Tarvainen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: