Comment 1 for bug 237315

Revision history for this message
Guilherme Salgado (salgado) wrote : Re: OOPS in 'person or team' search

This timeout happens because tsearch2 interprets '-de' as !'de' (meaning any person/team whose name/email doesn't contain the string 'de' will match). That's why it takes so long and times out -- there are nearly 2 billion people/teams which match that query for '-de'.

It may be possible to escape that '-' so that it's not interpreted as '!', but I don't know how. Any ideas, Stuart?