I need change a field a lot of times in some nodes, but the old versions is not important for me.
Can I modify a node using Node lib, and prevent the store of new versions?
I only call the modify and all time that this run, the Enonic create a new version.
I want this because my nodes have a count field, that change several times.
For example, I have 10.000 nodes that have 5 million of versions. I have some timeouts in my server, and I suspect that this big quantity of versions are the cause.
You have any suggestion to solve this? Maybe is possible delete these versions programmatically?
Indeed. The vacuum function will automatically clean away unused versions with a certain age. It is currently not automatic though. We are working to automate it in our Cloud.