changeset 5277:110efceb9e28

xapian index: remove redundant and unused fulltitle field
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 14 Nov 2009 13:33:45 +0100
parents 195db0fdbb80
children 66f7fd87b2ae
files MoinMoin/search/Xapian/indexing.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/Xapian/indexing.py	Sat Nov 14 13:30:20 2009 +0100
+++ b/MoinMoin/search/Xapian/indexing.py	Sat Nov 14 13:33:45 2009 +0100
@@ -94,8 +94,6 @@
         self.add_field_action('title', INDEX_FREETEXT, weight=100)
         self.add_field_action('title', STORE_CONTENT)
         self.add_field_action('content', INDEX_FREETEXT, spell=True)
-        self.add_field_action('fulltitle', INDEX_EXACT)
-        self.add_field_action('fulltitle', STORE_CONTENT)
         self.add_field_action('domain', INDEX_EXACT)
         self.add_field_action('domain', STORE_CONTENT)
         self.add_field_action('lang', INDEX_EXACT)
@@ -373,7 +371,6 @@
             fields['revision'] = revision
             fields['title'] = pagename
             fields['content'] = page.get_raw_body()
-            fields['fulltitle'] = pagename
             fields['lang'], fields['stem_lang'] = self._get_languages(page)
             fields['author'] = page.edit_info().get('editor', '?')
 
@@ -434,7 +431,6 @@
                 fields['revision'] = '0'
                 fields['title'] = '%s/%s' % (pagename, attachmentname)
                 fields['content'] = att_content
-                fields['fulltitle'] = pagename
                 fields['lang'], fields['stem_lang'] = self._get_languages(page)
 
                 multivalued_fields = {}