Opened 13 years ago

Closed 13 years ago

#549 closed enhancement (duplicate)

Some way to influence what is considered a word in the Queryparser

Reported by: Dirk-Jan C. Binnema Owned by: Olly Betts
Priority: normal Milestone:
Component: QueryParser Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: All

Description

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.

Change History (1)

comment:1 by Olly Betts, 13 years ago

Resolution: duplicate
Status: newclosed

Yes, this certainly ought to be more flexible.

We actually already have ticket #113 for this issue, so closing this one as a duplicate.

Note: See TracTickets for help on using tickets.