diff MoinMoin/app.py @ 862:e1a68b3721cc storage-ng

use the right tokenizers/analyzers in the schema, use name_exact for 1:1 matching
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 25 Sep 2011 12:48:19 +0200
parents c9a78e5a58c4
children 4cac830aca1e
line wrap: on
line diff
--- a/MoinMoin/app.py	Sun Sep 25 02:08:27 2011 +0200
+++ b/MoinMoin/app.py	Sun Sep 25 12:48:19 2011 +0200
@@ -171,7 +171,9 @@
     if app.cfg.create_storage:
         app.router.create()
     app.router.open()
-    app.storage = indexing.IndexingMiddleware(app.cfg.index_dir, app.router, wiki_name=app.cfg.interwikiname) # XXX give user name etc.
+    app.storage = indexing.IndexingMiddleware(app.cfg.index_dir, app.router,
+                                              wiki_name=app.cfg.interwikiname,
+                                              acl_rights_contents=app.cfg.acl_rights_contents)
     if app.cfg.create_index:
         app.storage.create()
     app.storage.open()