Author: tack
Date: Sun Sep 16 20:14:35 2007
New Revision: 2825

Log:
Sync to kaa.db changes.


Modified:
   trunk/epg/src/server.py

Modified: trunk/epg/src/server.py
==============================================================================
--- trunk/epg/src/server.py     (original)
+++ trunk/epg/src/server.py     Sun Sep 16 20:14:35 2007
@@ -59,6 +59,7 @@
         # create the db and register objects
 
         db = Database(dbfile)
+        db.register_inverted_index('keywords', min = 2, max = 30)
         db.register_object_type_attrs("channel",
             tuner_id   = (list, ATTR_SIMPLE),
             name = (unicode, ATTR_SEARCHABLE),
@@ -66,8 +67,8 @@
         )
         db.register_object_type_attrs("program",
             [ ("start", "stop") ],
-            title = (unicode, ATTR_KEYWORDS),
-            desc = (unicode, ATTR_KEYWORDS),
+            title = (unicode, ATTR_SEARCHABLE | ATTR_INVERTED_INDEX, 
'keywords'),
+            desc = (unicode, ATTR_SEARCHABLE | ATTR_INVERTED_INDEX, 
'keywords'),
             start = (int, ATTR_SEARCHABLE),
             stop = (int, ATTR_SEARCHABLE),
             episode = (unicode, ATTR_SIMPLE),

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to