[Xapian-tickets] [Xapian] #562: QueryParser incorrectly generates stemmed terms for prefixed fields

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


#562: QueryParser incorrectly generates stemmed terms for prefixed fields
-------------------------+--------------------------------------------------
 Reporter:  vitalif      |        Owner:  olly    
     Type:  enhancement  |       Status:  reopened
 Priority:  normal       |    Milestone:          
Component:  QueryParser  |      Version:  1.2.6   
 Severity:  minor        |   Resolution:          
 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 :[[BR]]
 1. STEM_NONE: Don't index any stemmed word[[BR]]
 2. STEM_SOME: Index both stemmed as well as full (non-stemmed)
 words.(note: prefix "Z" is present in front of the stemmed words). [[BR]]
 3. STEM_ALL:  Index only stemmed words.(note: stemmed words DONT have "Z"
 prefix).[[BR]]
 4. STEM_ALL_Z:  Index only stemmed words. (note: stemmed words have "Z"
 prefix).[[BR]]

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

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



More information about the Xapian-tickets mailing list