I understand i could create aliases on the collect...
# community-help
o
I understand i could create aliases on the collection and just keep moving to a new alias, if am correct simply creating an alias would trigger a full re-index of that alias?
f
Hey Ollie, You can update the collection's schema and add an embedding field using the PATCH update endpoint:
Copy code
PATCH /collections/your_collection
Content-Type: application/json
X-TYPESENSE-API-KEY: your_api_key

{
"fields": [
    {
"name": "text_embedding",
"type": "float[]",
"embed": {
"from": ["title", "description"],
"model_config": {
"model_name": "ts/e5-small"
        }
      }
    }
  ]
}
​
o
Ahhh thanks a lot, l will try that