[Xapian-tickets] [Xapian] #563: Add a mode for indexing only stemmed terms in TermGenerator

Xapian nobody at xapian.org
Sat Apr 14 22:21:22 BST 2012


#563: Add a mode for indexing only stemmed terms in TermGenerator
-------------------------+--------------------------------------------------
 Reporter:  vitalif      |       Owner:  olly 
     Type:  enhancement  |      Status:  new  
 Priority:  normal       |   Milestone:  1.3.x
Component:  QueryParser  |     Version:  1.2.6
 Severity:  normal       |    Keywords:       
Blockedby:               |    Platform:  All  
 Blocking:               |  
-------------------------+--------------------------------------------------

Comment(by sehaj.sk):

 This patch provides matching modes for QueryParser and TermGenerator.
 The mode for indexing can have following 4 values :
 1. STEM_NONE: Don't index any stemmed word
 2. STEM_SOME: Index both stemmed as well as full (non-stemmed)
 words.(note: prefix "Z" is present in front of the stemmed words).
 3. STEM_ALL:  Index only stemmed words.(note: stemmed words DONT have "Z"
 prefix).
 4. STEM_ALL_Z:  Index only stemmed words. (note: stemmed words have "Z"
 prefix).

 Correspondingly a new stemming strategy QueryParser::STEM_ALL_Z has been
 introduced.

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



More information about the Xapian-tickets mailing list