Back to index

moin  1.9.0~rc2
Public Member Functions | Private Member Functions
MoinMoin.search.Xapian.indexing.MoinIndexerConnection Class Reference

List of all members.

Public Member Functions

def __init__

Private Member Functions

def _define_fields_actions

Detailed Description

Definition at line 72 of file indexing.py.


Constructor & Destructor Documentation

Definition at line 74 of file indexing.py.

00074 
00075     def __init__(self, *args, **kwargs):
00076         super(MoinIndexerConnection, self).__init__(*args, **kwargs)
00077         self._define_fields_actions()

Here is the call graph for this function:


Member Function Documentation

Definition at line 78 of file indexing.py.

00078 
00079     def _define_fields_actions(self):
00080         SORTABLE = xappy.FieldActions.SORTABLE
00081         INDEX_EXACT = xappy.FieldActions.INDEX_EXACT
00082         INDEX_FREETEXT = xappy.FieldActions.INDEX_FREETEXT
00083         STORE_CONTENT = xappy.FieldActions.STORE_CONTENT
00084 
00085         self.add_field_action('wikiname', INDEX_EXACT)
00086         self.add_field_action('wikiname', STORE_CONTENT)
00087         self.add_field_action('pagename', INDEX_EXACT)
00088         self.add_field_action('pagename', STORE_CONTENT)
00089         self.add_field_action('pagename', SORTABLE)
00090         self.add_field_action('attachment', INDEX_EXACT)
00091         self.add_field_action('attachment', STORE_CONTENT)
00092         self.add_field_action('mtime', INDEX_EXACT)
00093         self.add_field_action('mtime', STORE_CONTENT)
00094         self.add_field_action('revision', STORE_CONTENT)
00095         self.add_field_action('revision', INDEX_EXACT)
00096         self.add_field_action('mimetype', INDEX_EXACT)
00097         self.add_field_action('mimetype', STORE_CONTENT)
00098         self.add_field_action('title', INDEX_FREETEXT, weight=100)
00099         self.add_field_action('title', STORE_CONTENT)
00100         self.add_field_action('content', INDEX_FREETEXT, spell=True)
00101         self.add_field_action('domain', INDEX_EXACT)
00102         self.add_field_action('domain', STORE_CONTENT)
00103         self.add_field_action('lang', INDEX_EXACT)
00104         self.add_field_action('lang', STORE_CONTENT)
00105         self.add_field_action('stem_lang', INDEX_EXACT)
00106         self.add_field_action('author', INDEX_EXACT)
00107         self.add_field_action('linkto', INDEX_EXACT)
00108         self.add_field_action('linkto', STORE_CONTENT)
00109         self.add_field_action('category', INDEX_EXACT)
00110         self.add_field_action('category', STORE_CONTENT)
00111 

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: