Hi, I've been testing SearchIndex's Splitter here, and I'm finding the
behaviour only a tiny bit strange: it converts the words it splits to
lowercase. Is this intentional? Example:

>>> import SearchIndex.Splitter
>>> import SearchIndex.Lexicon
>>> s = SearchIndex.Splitter.Splitter("Foo Bar Baz",
>>> s[0]
>>> s.indexes('foo')

Why does this happen? It makes TextIndex's position() call behave
unexpectedly until you do some tests with the Splitter itself!

Take care,
/\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil
~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to