[Xapian-tickets] [Xapian] #549: Some way to influence what is considered a word in the Queryparser

Xapian nobody at xapian.org
Tue Jun 7 20:37:44 BST 2011


#549: Some way to influence what is considered a word in the Queryparser
-------------------------+--------------------------------------------------
 Reporter:  djcb         |       Owner:  olly
     Type:  enhancement  |      Status:  new 
 Priority:  normal       |   Milestone:      
Component:  QueryParser  |     Version:      
 Severity:  normal       |   Blockedby:      
 Platform:  All          |    Blocking:      
-------------------------+--------------------------------------------------
 In my application mu (http://www.djcbsoftware.nl/code/mu/), I'm indexing
 e-mails. I'd like to search for e-mail addresses, but it seems that the
 QueryParser does not like them very much -- ie., it split words upon '-',
 '@', '.'.

 I work around this by pre-processing queries and terms, but that is
 clearly sub-optimal. I could write my own query-parser but that seems a
 bit of overkill, if only I could influence the word-breaking of the
 default query-parser a bit.

-- 
Ticket URL: <http://trac.xapian.org/ticket/549>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list