Back to index

moin  1.9.0~rc2
Public Member Functions
MoinMoin.search.Xapian.indexing.StemmedField Class Reference

List of all members.

Public Member Functions

def __init__

Detailed Description

Definition at line 112 of file indexing.py.


Constructor & Destructor Documentation

def MoinMoin.search.Xapian.indexing.StemmedField.__init__ (   self,
  name,
  value,
  request 
)

Definition at line 114 of file indexing.py.

00114 
00115     def __init__(self, name, value, request):
00116         analyzer = WikiAnalyzer(request=request, language=request.cfg.language_default)
00117         value = ' '.join(unicode('%s %s' % (word, stemmed)).strip() for word, stemmed in analyzer.tokenize(value))
00118         super(StemmedField, self).__init__(name, value)
00119 


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