Ratel ui: alter tab lost


(Youmoo) #1

I remember that there was a Alter tab in top left, which can be used to set scheme, but today I can’t find it .
Can someone tell me why?


Dgraph Ratel UI does not show Alter, only Query and Mutate
(Michel Conrado) #2

It was decided to remove it. Due to redundancy. You can use curl tho.

Cheers.


#3

What a pity. So, right now I can use custom tokenizer only by curl and ratel is useless. :/.


(Michel Conrado) #4

Well, can you show why Ratel don’t fulfill your needs? you can normally edit Schema via Ratel.


#5

Yes, of course.
I start dGraph with --custom_tokenizers=/dgraph/plugins/nfd.so
I would like to create new predicate in ratel someting like text.value: string @index(term,nfd) . but ratel does not offer me nfd index option.


Dgraph ratel UI changed after restarting the server?
(Paul Korzhyk) #6

We’ve just released a new feature in the Schema page - click the “Schema File” button and then the “Text editor + Apply Schema” act exactly as the Alter tab.

For advanced uses curl will always be more powerful than Ratel UI.

We should create a bug and add support for custom tokenizers in Ratel too. I didn’t know about that feature.