[Xapian-tickets] [Xapian] #448: Allow usage of custom stemmers

Xapian nobody at xapian.org
Mon Feb 15 09:05:35 GMT 2010


#448: Allow usage of custom stemmers
-------------------------+--------------------------------------------------
 Reporter:  esizikov     |        Owner:  olly    
     Type:  enhancement  |       Status:  reopened
 Priority:  normal       |    Milestone:          
Component:  Library API  |      Version:  1.0.17  
 Severity:  normal       |   Resolution:          
 Keywords:               |    Blockedby:          
 Platform:  All          |     Blocking:          
-------------------------+--------------------------------------------------

Comment(by esizikov):

 To put some more details to ppoint 1. above: if there's no any virtual
 method in Xapian::Stem (no vtable) I got this error when trying to use the
 subclassed instance from my extension:
 {{{
 #!python
 Traceback (most recent call last):
   File "test.py", line 26, in <module>
     main()
   File "test.py", line 17, in main
     generator.set_stemmer(stem)
 TypeError: in method 'TermGenerator_set_stemmer', argument 2 of type
 'Xapian::Stem const &'
 }}}

-- 
Ticket URL: <http://trac.xapian.org/ticket/448#comment:6>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list