lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <>
Subject [jira] [Commented] (SOLR-4457) Queries ending in question mark interpreted as wildcard
Date Wed, 03 Jul 2013 00:53:20 GMT


Jan Høydahl commented on SOLR-4457:

Any comments on this? First implementation could be a new eDismax config parameter {{maskTrailingQmark}}.
If set to true (default=false) then a trailing "?" would be removed - but only if query consists
of 3 or more terms.

This would be a simple fix until we get more flexible QParsers which could allow this as pluggable
extensions for all parsers.
> Queries ending in question mark interpreted as wildcard
> -------------------------------------------------------
>                 Key: SOLR-4457
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: query parsers
>            Reporter: Jan Høydahl
>         Attachments: SOLR-4457.patch
> For many search applications, queries ending in a question mark such as {{foo bar?}}
would *not* mean a search for a four-letter word starting with {{bar}}. Neither will it mean
a literal search for a question mark.
> The query parsers should have an option to discard trailing question mark before passing
to analysis.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message