GraphQL query doesn't retrieve results if adding "search"

I have…

  • Read the following guideline: Troubleshooting and Support | Squidex. I understand that my support request might get deleted if I do not follow the guideline.
  • Used code blocks with ``` to format my code examples like JSON or logs properly.

I’m submitting a…

  • Regression (a behavior that stopped working in a new release)
  • Bug report
  • Performance issue
  • Documentation issue or request

Current behavior

I had a graphQL that was working before correctly but now my search term isn’t finding any results.

Expected behavior

My query should retrieve results.

Minimal reproduction of the problem

{
  queryProdutoContentsWithTotal(search: "Vertical") {
    total
    items {
      id
      data {
        nome {
          en
        }
        thumbnail {
          iv {
            url
          }
        }
        categoria {
          iv {
            id
            data {
              nome {
                en
              }
            }
          }
        }
      }
    }
  }
}

Environment

App Name: inplenia

  • Self hosted with docker
  • Self hosted with IIS
  • Self hosted with other version
  • Cloud version

Version: [VERSION]

Browser:

  • Chrome (desktop)
  • Chrome (Android)
  • Chrome (iOS)
  • Firefox
  • Safari (desktop)
  • Safari (iOS)
  • IE
  • Edge

Others:
My query returns results if I pass a empty “search” parameter. And one of the results in field “data/nome/en” has “Vertical” in the name so it should be returning that result.

Thanks for the help

It is a duplicate of this one: Search within content block no longer working - #4 by Sebastian

I will recreate the text index tomorrow evening.

1 Like

Ah great! thanks for the reply.