[Xapian-tickets] [Xapian] #484: QueryParser does not expand wildcarded terms in some cases

Xapian nobody at xapian.org
Tue Jun 1 15:14:24 BST 2010


#484: QueryParser does not expand wildcarded terms in some cases
---------------------------+------------------------------------------------
 Reporter:  Daniel.Menard  |       Owner:  olly 
     Type:  defect         |      Status:  new  
 Priority:  normal         |   Milestone:  1.2.1
Component:  QueryParser    |     Version:  1.0.2
 Severity:  normal         |    Keywords:       
Blockedby:                 |    Platform:  All  
 Blocking:                 |  
---------------------------+------------------------------------------------

Comment(by Daniel.Menard):

 Not sure if it helps, but if the wildcarded term if followed by any
 character other than a space (e.g. a comma), the term is correctly
 expanded :

 {{{
 NOT OK: xapian test* user
 OK: xapian test*, user
 OK: xapian test* (user)
 OK: (xapian test*) user
 }}}

 Inspiration from queryparser.lemony?rev=9085, line 1209:
 "GROUP_TERM is a query term which follows a TERM or another GROUP_TERM and
 is only separated by whitespace characters."

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



More information about the Xapian-tickets mailing list