add some notes stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 02 Oct 2009 08:57:25 +0200
branchstable
changeset 3548 4cf5a360952e
parent 3547 0c18a6c8d9b7
child 3549 63718638352e
add some notes
server/migractions.py
--- a/server/migractions.py	Fri Oct 02 08:57:16 2009 +0200
+++ b/server/migractions.py	Fri Oct 02 08:57:25 2009 +0200
@@ -626,6 +626,10 @@
         if card == '1':
             rql += ', NOT X %s NULL' % oldname
         self.rqlexec(rql, ask_confirm=self.verbosity>=2)
+        # XXX if both attributes fulltext indexed, should skip fti rebuild
+        # XXX if old attribute was fti indexed but not the new one old value
+        # won't be removed from the index (this occurs on other kind of
+        # fulltextindexed change...)
         self.cmd_drop_attribute(etype, oldname, commit=commit)
 
     def cmd_add_entity_type(self, etype, auto=True, commit=True):