I have a collection with a field called `ID` - tha...
# community-help
s
I have a collection with a field called
ID
- that was perhaps not the best idea since while it did not cause issues on upsert or update, it seems to cause issues if I want to change it (probably it conflicts with native
id
?) I need to set it from index false to true. Yet it won't let me:
Copy code
raise ApiCall.get_exception(r.status_code)(r.status_code, error_message)
typesense.exceptions.RequestMalformed: [Errno 400] Only fields can be updated at the moment.
The code is pretty simple:
Copy code
schema = {
  'name': 'name_here',
  'fields': [
	{
      'name'  :  'ID',
      'drop' : True
    },
    {
      'name'  :  'ID',
      'type'  :  'auto',
	  'index' : True,
	  'optional' : True
    }
  ]
}
client.collections['tkt_posts'].update(schema)
Is there any solution?