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

GraphQL search performs a search with Query filter

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 2.5.14, 3.1.4, 3.2.1, 3.3.x-dev
    • Platform > GraphQL

    Description

      An example GraphQL search query:

      {
      	content {
          articles(
            query: {
              Text: "Ibexa"
            }, 
            sortBy: [_name _desc]
          ) {
            edges {
              node {
                _name
              }
            }
          }
        }
      }
      

      performs a "filter" query under the hood:
      https://github.com/ezsystems/ezplatform-graphql/blob/1.0/src/GraphQL/InputMapper/SearchQueryMapper.php#L96

      This search does not support some features, for example Scoring - meaning that the new Score SortClause (available from 3.3) won't have any effect.

      Expected result:
      The GraphQl search takes Scoring into account.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marek.nocon@ibexa.co Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: