diff options
author | Benjamin Saller <bcsaller@objectrealms.net> | 2007-07-13 09:23:45 (GMT) |
---|---|---|
committer | Benjamin Saller <bcsaller@objectrealms.net> | 2007-07-13 09:23:45 (GMT) |
commit | b652763a5917835e821c1e158ca8b802d176a5b3 (patch) | |
tree | 44909da6c93cf9c9c899bb2693f8f35a140e651e /src/olpc/datastore/model.py | |
parent | a9b86d8896c0a9f51e26e9ad9296c5f21784edc9 (diff) |
missing model fields
Diffstat (limited to 'src/olpc/datastore/model.py')
-rw-r--r-- | src/olpc/datastore/model.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/olpc/datastore/model.py b/src/olpc/datastore/model.py index 38c1e50..cc20e79 100644 --- a/src/olpc/datastore/model.py +++ b/src/olpc/datastore/model.py @@ -270,7 +270,6 @@ defaultModel = Model().addFields( ('fulltext', 'text'), # vid is version id ('vid', 'number'), - ('activity', 'string'), ('checksum', 'string'), ('filename', 'string'), # Title has additional weight @@ -285,6 +284,13 @@ defaultModel = Model().addFields( # indexed with the content # I give them high weight as they have user given semantic value. ('tags', 'text', {'weight' :3 } ), + + # olpc specific + ('activity', 'string'), + ('title_set_by_user', 'text'), + ('keep', 'int'), + ('icon-color', 'string'), + ('preview', 'binary'), ) |