mediagoblin-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GMG-Devel] [PATCH 43/83] Add field for storing search results.


From: Alon Levy
Subject: [GMG-Devel] [PATCH 43/83] Add field for storing search results.
Date: Tue, 25 Feb 2014 21:58:26 +0200

From: Praveen Kumar <address@hidden>

---
 mediagoblin/plugins/search/schemas.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/mediagoblin/plugins/search/schemas.py 
b/mediagoblin/plugins/search/schemas.py
index 7963504..a5358c7 100644
--- a/mediagoblin/plugins/search/schemas.py
+++ b/mediagoblin/plugins/search/schemas.py
@@ -26,6 +26,8 @@ class MediaEntryIndexSchema(SchemaClass):
     media_type = TEXT
     license = TEXT
 
+    search_result = TEXT(stored=True)
+
 class MediaTagIndexSchema(SchemaClass):
     """
     Represents the schema of the search index corresponding to
@@ -36,3 +38,5 @@ class MediaTagIndexSchema(SchemaClass):
     id_stored = ID(stored=True)
     
     name = TEXT
+
+    search_result = TEXT(stored=True)
-- 
1.8.5.3



reply via email to

[Prev in Thread] Current Thread [Next in Thread]