Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-30759

Some search entries not making it into search index/results

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • No

      From: gkaratae:
      We are experiencing issues with search results on console.redhat.com. There are some entries that are present in our config (services.json), but they failed to make it to solr index. I am referring to https://pnt-cee-solr.corp.redhat.com/solr/console_store/select?fl=title,uri,id,relative_uri&q=*:*&rows=100: for example, it should contain "Inventory Groups" because it's listed in https://github.com/RedHatInsights/chrome-service-backend/blob/main/static/stable/prod/services/services.json#L192-L197.

      See thread: https://redhat-internal.slack.com/archives/C023VGW21NU/p1705665234388279

      After some initial investigation, I've narrowed the issue down to our search upload index script here: https://github.com/RedHatInsights/chrome-service-backend/blob/main/cmd/search/publishSearchIndex.go

      It appears we may have a problem with the structure of service entries and what the script expects. We should either fix the script to correctly upload the current structure, or enforce the structure of service entries more strictly during search indexing. I am creating this as a story as this is not only a bug but an enhancement to our existing search index scripts.

       

       

            bflorkie@redhat.com Bryan Florkiewicz
            bflorkie@redhat.com Bryan Florkiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: