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

[Solr] Does not index on publish (and crash on search)

    XMLWordPrintable

    Details

      Description

      Solr does not index and fail somehow.

      Steps to reproduce:

      Expected Result: I should see my new Article in Sub Items
      Result: I don't see the new Article in Sub Items.

      Then go on the Solr Interface and search something
      http://localhost:42983/solr/collection1/select?indent=on&q=test&wt=json
      An error is displayed:

      {
        "responseHeader":{
          "status":400,
          "QTime":0,
          "params":{
            "q":"test",
            "indent":"on",
            "wt":"json"}},
        "error":{
          "metadata":[
            "error-class","org.apache.solr.common.SolrException",
            "root-error-class","org.apache.solr.common.SolrException"],
          "msg":"undefined field _text_",
          "code":400}}
      

      Error: undefined field text

      Then stop and star solr

      ez stop solr; ez start solr

      Go back on the Top Node http://localhost:42080/admin/content/location/2
      The subitem appears.

      But the search is still in error:
      http://localhost:42983/solr/collection1/select?indent=on&q=test&wt=json

      And new created content won't show up.

      That is a 10min reproductible bug.

      Thank you for your help!

      Update: This issue is not reproducible on clean eZ Platform EE v2.0.1 with Solr 6.6.0 in the local environment. Seems like this is eZ Launchpad related bug.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            s.morel Sébastien Morel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: