opened 11:39PM - 04 Apr 23 UTC
closed 05:44PM - 19 Apr 23 UTC
kind/bug
### What version of Dgraph are you using?
dgraph/standalone:latest
Schema…:
```
type Stems {
id: ID!
link: String!
image: String!
name: String! @search(by:[fulltext])
length: Int @search
rise: Int @search
clampDiameter: Float @search
steererDiameter: String @search(by:[hash])
color: String @search(by:[hash])
material: String! @search(by:[hash])
price: Float! @search
weight: Int @search
brand: String! @search(by:[hash])
}
```
### Have you tried reproducing the issue with the latest release?
Yes
### What is the hardware spec (RAM, CPU, OS)?
Irrelevant
### What steps will reproduce the bug?
Make any query that uses fulltext search "alloftext" or "anyoftext" that contains one or more semicolons or backslashes.
### Expected behavior and actual result.
When I enter any string containing a semicolon or backslash in the fulltext search, I get the error
“no query string supplied in request”
This is a sample GraphQL query that produces the error
```
query MyQuery {
queryItems(filter: {name: {alloftext: "text;with;semicolons"}}) {
id
name
price
}
}
```
The issue does not occur when the same query is used in the Dgraph Cloud Explorer for some reason.
I’m using the Docker dgraph/standalone:latest image.
### Additional information
The full error message was:
`{"errors":[{"message":"no query string supplied in request"}],"extensions":{"tracing":{"version":1,"startTime":"2023-04-04T23:41:00.55157713Z","endTime":"2023-04-04T23:41:00.551966171Z","duration":389041}}}`