[DRE-maint] Bug#789605: Bug#789605: sup-mail: Get a Redwood::Index::ParseError when searching for the paragraph sign

Per Andersson avtobiff at gmail.com
Sat Jun 27 23:01:23 UTC 2015


forwarded https://github.com/sup-heliotrope/sup/pull/444
kthxbye

On Mon, Jun 22, 2015 at 5:44 PM, Valentin Heinz <reportbug at inktrap.org> wrote:
> Package: sup-mail
> Version: 0.20.0-1
> Severity: normal
>
> Dear Maintainer,
>
>    * What led up to the situation?
>
>    I searched in sup via '\' all messages for the paragraph sign '§'.
>    and got the message:
>
>    Problem: Redwood::Index::ParseError!
>
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
>
>    Checked xapian query language
>    <http://xapian.org/docs/queryparser.html>
>
>    Tried to escape it '\§'.
>
>    * What was the outcome of this action?
>
>     Paragraph is not a special item. Escaping does not work.
>     Regardless, Redwood should not crash.
>
>    * What outcome did you expect instead?
>
>     Normal search for § as a token.

Xapian does not index special characters as search terms by
default. Hence it will not be possible to search for them. It
seems to be possible with some customization though. See
xapian-discuss for some clarification

    http://grokbase.com/t/xapian/xapian-discuss/0842sy96ck/using-special-characters-in-query-terms#20080402c9j4zsq14dnn99j0wfyn96kf24

I have forwarded a patch upstream to clarify the error presented
to the user.

Thanks for your attention to detail!


--
Per



More information about the Pkg-ruby-extras-maintainers mailing list