server/sources/__init__.py
changeset 9449 287a05ec7ab1
parent 9448 3e7cad3967c5
child 9451 c83a8ecb9bf5
equal deleted inserted replaced
9448:3e7cad3967c5 9449:287a05ec7ab1
   468         """delete system information on deletion of a list of entities with the
   468         """delete system information on deletion of a list of entities with the
   469         same etype and belinging to the same source
   469         same etype and belinging to the same source
   470         """
   470         """
   471         raise NotImplementedError(self)
   471         raise NotImplementedError(self)
   472 
   472 
   473     def modified_entities(self, session, etypes, mtime):
       
   474         """return a 2-uple:
       
   475         * list of (etype, eid) of entities of the given types which have been
       
   476           modified since the given timestamp (actually entities whose full text
       
   477           index content has changed)
       
   478         * list of (etype, eid) of entities of the given types which have been
       
   479           deleted since the given timestamp
       
   480         """
       
   481         raise NotImplementedError(self)
       
   482 
       
   483     def index_entity(self, session, entity):
   473     def index_entity(self, session, entity):
   484         """create an operation to [re]index textual content of the given entity
   474         """create an operation to [re]index textual content of the given entity
   485         on commit
   475         on commit
   486         """
   476         """
   487         raise NotImplementedError(self)
   477         raise NotImplementedError(self)