Error during altering the schema

Hi there,

I have an existing data set and am now trying to change the schema type from int to float.

So the schema before looks like this:

type goal {
  start: int

And the schema looks like this:

type goal {
  start: float

However, when initializing the new schema, I get the following error: Tokenizer: int isn't valid for predicate: start of type: float

Changing the schema via ratel UI works though.

Any ideas how to change to schema types and what I am missing here?

You can’t change the type of a predicate through the type definition. You have to change the predicate itself in the schema.

Thanks, for the reply. I found the error. I still had an index set to @index(int). The error message was a bit confusing though.