Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-6405

Sphinx searches incorrectly return all records if you search by the name of the class

    XMLWordPrintable

Details

    Description

      Whenever one searches, in a index page of the Admin portal, for a term that matches part of the name of the Ruby class behind the collection being searched, Sphinx returns all records that are accessible to the current user logged in, instead of only the subset whose indexed fields match. E.g., searching for "Service" in the index of API products returns all API products; searching for "Backend" or "API" in the index of the API backends returns all API backends, analogously for Accounts, etc.

      Dev note
      This is due to Thinking Sphinx auto addition of the sphinx_internal_class_name field in all indices defined. SeeĀ https://github.com/pat/thinking-sphinx/issues/568.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mcassola Guilherme Cassolato
              Dominik Hlavac Duran Dominik Hlavac Duran
              Aleksandar Kostadinov Aleksandar Kostadinov
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: