-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/mutate doesn't always. #2813
Comments
update: I found the typos in my regexp() queries. God dynamically typed languages suck. Here is what they should be; then they work:
Still mystified why the /mutate data load fails. |
here is a minimized version. /mutate does not mutate:
|
Are you committing the transactions? PS. Use e.g: curl localhost:8080/mutate -H "X-Dgraph-CommitNow: true" -X POST -d '{ set { _:a20 <reg> "The quick red fox jumped over the lazy brown doggies." . } }' ``` |
And can you be more specific? doesn't always what? |
Yay! Commiting the /mutate transaction did it. Thank you @MichelDiz
that referred to the two queries after the /mutate
|
Look like I missed all the fun! Do you mind trying your query with 1.0.11-rc4 ? We did a lot of work to improve fulltext index, trigram is next. |
@srfrog Hi Gus. It was just (my) user error. I wasn't returning the name of the predicate I was querying. But glad to hear fulltext search is improving. I was trying to issue query |
The stemming is not configurable atm. We are using the default stemmer that comes with Bleve. If you have ideas to make it better feel free to submit a PR or issue. |
A script to reproduce what I'm seeing. Be careful in that this will drop your whole database as its first step. This looks like two bugs. See comments inline below.
OSX 10.13.6, dgraph version
running from docker:
The text was updated successfully, but these errors were encountered: