Show
Ignore:
Timestamp:
03/21/08 18:47:33 (8 months ago)
Author:
Lafaye Philippe (RAGE2000) <lafaye@…>
Message:

Configure the database engine for return unicode and we d'ont need to convert
it in the indexer

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • xap/trunk/xapindexer.py

    r224 r225  
    5252        logging.debug('xap:indexing %s' % uid) 
    5353        options = {'treshold': 2} 
    54         if isinstance(text, str): 
    55             text = text.decode('utf8') 
    5654        words = tokenize(text, options=options) 
    5755        if language is not None: