equal
deleted
inserted
replaced
922 |
922 |
923 :rtype: list |
923 :rtype: list |
924 :return: the list of indexable word of this entity |
924 :return: the list of indexable word of this entity |
925 """ |
925 """ |
926 from indexer.query_objects import tokenize |
926 from indexer.query_objects import tokenize |
|
927 # take care to cases where we're modyfying the schema |
|
928 pending = self.req.transaction_data.setdefault('pendingrdefs', set()) |
927 words = [] |
929 words = [] |
928 for rschema in self.e_schema.indexable_attributes(): |
930 for rschema in self.e_schema.indexable_attributes(): |
|
931 if (self.e_schema, rschema) in pending: |
|
932 continue |
929 try: |
933 try: |
930 value = self.printable_value(rschema, format='text/plain') |
934 value = self.printable_value(rschema, format='text/plain') |
931 except TransformError: |
935 except TransformError: |
932 continue |
936 continue |
933 except: |
937 except: |