lucene-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/SOLR-4457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13578397#comment-13578397
] 

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:

http://lucidworks.lucidimagination.com/display/lweug/Natural+Language+Queries

                
> Queries ending in question mark interpreted as wildcard
> -------------------------------------------------------
>
>                 Key: SOLR-4457
>                 URL: https://issues.apache.org/jira/browse/SOLR-4457
>             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: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message