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

Yonik Seeley commented on SOLR-7466:
------------------------------------

bq. Is there any veto to make leading wildcards always on in complexphrase?

Seems fine to me.  This is limited to the complexphase qparser to begin with, 
and what makes sense for a default is to return what is requested without 
second guessing.


> Allow optional leading wildcards in complexphrase
> -------------------------------------------------
>
>                 Key: SOLR-7466
>                 URL: https://issues.apache.org/jira/browse/SOLR-7466
>             Project: Solr
>          Issue Type: Improvement
>          Components: query parsers
>    Affects Versions: 4.8
>            Reporter: Andy hardin
>            Assignee: Mikhail Khludnev
>              Labels: complexPhrase, query-parser, wildcards
>         Attachments: SOLR-7466.patch
>
>
> Currently ComplexPhraseQParser (SOLR-1604) allows trailing wildcards on terms 
> in a phrase, but does not allow leading wildcards.  I would like the option 
> to be able to search for terms with both trailing and leading wildcards.  
> For example with:
> {!complexphrase allowLeadingWildcard=true} "j* *th"
> would match "John Smith", "Jim Smith", but not "John Schmitt"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to