[
https://issues.apache.org/jira/browse/SOLR-8488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Varun Thacker updated SOLR-8488:
--------------------------------
Attachment: SOLR-8488.patch
Thanks Ram for the feedback!
Patch which makes leading wildcards optional and false by default.
One oddity in ComplexPhraseQParserPlugin is how "inOrder" can be configured
while defining the plugin via {{init}} .But it won't work because
{{ComplexPhraseQParser#setInOrder}} doesn't do this
{{lparser.setInOrder(inOrder);}} ? Maybe warrants another Jira though
> Add support for leading wildcards to ComplexPhraseQParserPlugin
> ---------------------------------------------------------------
>
> Key: SOLR-8488
> URL: https://issues.apache.org/jira/browse/SOLR-8488
> Project: Solr
> Issue Type: Improvement
> Reporter: Varun Thacker
> Priority: Minor
> Fix For: 5.5, Trunk
>
> Attachments: SOLR-8488.patch, SOLR-8488.patch
>
>
> It would be useful to support leading wildcards in phrase searches as well.
> Currently we support this query -
> {code}{!complexphrase inOrder=true}name:"Jo* Smith"{code}
> It would be useful to be support a query like -
> {code}{!complexphrase inOrder=true\}name:"*Jo* Smith"{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]