changeset 806:1165a3658720 pytest2

indexing: store all dynamic fields
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 30 Aug 2011 21:19:15 +0200
parents 7b28a1e0774e
children 0ffa96e9e7f2
files MoinMoin/search/indexing.py
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/indexing.py	Tue Aug 30 00:53:12 2011 +0200
+++ b/MoinMoin/search/indexing.py	Tue Aug 30 21:19:15 2011 +0200
@@ -90,12 +90,12 @@
                                            **common_fields)
 
         # Define dynamic fields
-        dynamic_fields = [("*_id", ID),
-                          ("*_text", TEXT),
-                          ("*_keyword", KEYWORD),
-                          ("*_numeric", NUMERIC),
-                          ("*_datetime", DATETIME),
-                          ("*_boolean", BOOLEAN)
+        dynamic_fields = [("*_id", ID(stored=True)),
+                          ("*_text", TEXT(stored=True)),
+                          ("*_keyword", KEYWORD(stored=True)),
+                          ("*_numeric", NUMERIC(stored=True)),
+                          ("*_datetime", DATETIME(stored=True)),
+                          ("*_boolean", BOOLEAN(stored=True)),
                          ]
 
         # Adding dynamic fields to schemas