You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2013/02/25 20:34:14 UTC

[jira] [Resolved] (SOLR-4481) SwitchQParserPlugin

     [ https://issues.apache.org/jira/browse/SOLR-4481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man resolved SOLR-4481.
----------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.2

I went ahead and committed a version using the following syntax...

{noformat}
{!switch case=XXX case.foo=YYY case.bar=ZZZ default=QQQ}foo
{noformat}

Committed revision 1449809.
Committed revision 1449823.

                
> SwitchQParserPlugin
> -------------------
>
>                 Key: SOLR-4481
>                 URL: https://issues.apache.org/jira/browse/SOLR-4481
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 4.2, 5.0
>
>         Attachments: SOLR-4481.patch
>
>
> Inspired by a conversation i had with someone on IRC a while back about using "append" fq params + local params to create custom request params, it occurred to me that it would be handy to have a "switch" qparser that could be configured with some set of fixed "switch case" localparams that it would delegate too based on it's input string.

--
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