Hi!
Just wanted to get the "truth" from Chris on this. I would like to rebuild selected indexes from scratch, saw some code but... well, is there an official API for this?
regards, Göran
Hi!
Göran Krampe wrote:
Hi!
Just wanted to get the "truth" from Chris on this. I would like to rebuild selected indexes from scratch, saw some code but... well, is there an official API for this?
I did this last night btw, the easiest solution was to create a new MagmaCollection with indexes on it, iterate over the old one and adding each object to the new one. That worked for me, but generally I think the current available behaviors for managing indexes is a bit lacking.
I added #removeAllIndexes, that was trivial, but a #rebuildIndexNamed: would be nice to have.
regards, Göran
PS. I have experienced indexes not being updated properly - probably due to... something I have done. Not sure. But after a rebuild all was fine.
Hi Göran, you have been using Magma for at least some years, I very much welcome your feedback and code fixes or enhancements.
Please let me know if you commit something to MagmaTester (I don't always pay attention to it), I'll review and try to integrate it into a future version.
Regards, Chris
PS - Regarding your index update issue, did that collection have a lot of removes from the collection?
2009/4/17 Göran Krampe goran@krampe.se:
Hi!
Göran Krampe wrote:
Hi!
Just wanted to get the "truth" from Chris on this. I would like to rebuild selected indexes from scratch, saw some code but... well, is there an official API for this?
I did this last night btw, the easiest solution was to create a new MagmaCollection with indexes on it, iterate over the old one and adding each object to the new one. That worked for me, but generally I think the current available behaviors for managing indexes is a bit lacking.
I added #removeAllIndexes, that was trivial, but a #rebuildIndexNamed: would be nice to have.
regards, Göran
PS. I have experienced indexes not being updated properly - probably due to... something I have done. Not sure. But after a rebuild all was fine.
Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
Hi!
Chris Muller wrote:
Hi Göran, you have been using Magma for at least some years, I very much welcome your feedback and code fixes or enhancements.
Sure. :) My main "issue" with Magma is probably speed actually. Robustness seem fine and functionality is quite full.
Please let me know if you commit something to MagmaTester (I don't always pay attention to it), I'll review and try to integrate it into a future version.
Yeah, don't have anything I think. I can check my extensions.
Regards, Chris
PS - Regarding your index update issue, did that collection have a lot of removes from the collection?
No removes at all.
regards, Göran
magma@lists.squeakfoundation.org