lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky (JIRA)" <>
Subject [jira] [Commented] (SOLR-4457) Queries ending in question mark interpreted as wildcard
Date Thu, 14 Feb 2013 14:34:13 GMT


Jack Krupansky commented on SOLR-4457:

I implemented this feature once for a Solr-based query parser. It can be tricky since you
don't won't to preclude the use of a trailing single-character wildcard. You can read about
the rules/heuristics I used here:

> Queries ending in question mark interpreted as wildcard
> -------------------------------------------------------
>                 Key: SOLR-4457
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: query parsers
>            Reporter: Jan H√łydahl
> 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