[jira] Created: (SOLR-2128) full parameter dereferencing for function queries

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (SOLR-2128) full parameter dereferencing for function queries

JIRA jira@apache.org
full parameter dereferencing for function queries
-------------------------------------------------

                 Key: SOLR-2128
                 URL: https://issues.apache.org/jira/browse/SOLR-2128
             Project: Solr
          Issue Type: New Feature
            Reporter: Yonik Seeley
             Fix For: 4.0


We should be able to specify function parameters as $foo (where foo is another request parameter).
Ideally the parameter could itself be a full function.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-2128) full parameter dereferencing for function queries

JIRA jira@apache.org

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

Yonik Seeley commented on SOLR-2128:
------------------------------------

Some of the motivation for this is to make spatial search easier by enabling users to reference other parameters in the request such as the point or distance.

> full parameter dereferencing for function queries
> -------------------------------------------------
>
>                 Key: SOLR-2128
>                 URL: https://issues.apache.org/jira/browse/SOLR-2128
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>             Fix For: 4.0
>
>
> We should be able to specify function parameters as $foo (where foo is another request parameter).
> Ideally the parameter could itself be a full function.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (SOLR-2128) full parameter dereferencing for function queries

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Yonik Seeley reassigned SOLR-2128:
----------------------------------

    Assignee: Yonik Seeley

> full parameter dereferencing for function queries
> -------------------------------------------------
>
>                 Key: SOLR-2128
>                 URL: https://issues.apache.org/jira/browse/SOLR-2128
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 4.0
>
>
> We should be able to specify function parameters as $foo (where foo is another request parameter).
> Ideally the parameter could itself be a full function.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (SOLR-2128) full parameter dereferencing for function queries

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Yonik Seeley updated SOLR-2128:
-------------------------------

    Attachment: SOLR-2128.patch

Here's the patch that implements this feature via nested queries.
As an example, you can now do stuff like this:

http://localhost:8983/solr/select?defType=func&fl=id,score&q=add($v1,$v2)&v1=mul(2,3)&v2=10

> full parameter dereferencing for function queries
> -------------------------------------------------
>
>                 Key: SOLR-2128
>                 URL: https://issues.apache.org/jira/browse/SOLR-2128
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 4.0
>
>         Attachments: SOLR-2128.patch
>
>
> We should be able to specify function parameters as $foo (where foo is another request parameter).
> Ideally the parameter could itself be a full function.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (SOLR-2128) full parameter dereferencing for function queries

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Yonik Seeley resolved SOLR-2128.
--------------------------------

    Resolution: Fixed

committed.

> full parameter dereferencing for function queries
> -------------------------------------------------
>
>                 Key: SOLR-2128
>                 URL: https://issues.apache.org/jira/browse/SOLR-2128
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 4.0
>
>         Attachments: SOLR-2128.patch
>
>
> We should be able to specify function parameters as $foo (where foo is another request parameter).
> Ideally the parameter could itself be a full function.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-2128) full parameter dereferencing for function queries

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Jeremy Thomerson commented on SOLR-2128:
----------------------------------------

yeah - committed with r1000000!

https://blogs.apache.org/foundation/entry/the_asf_hits_its_millionth

http://twitter.com/TheASF/status/25220780033



> full parameter dereferencing for function queries
> -------------------------------------------------
>
>                 Key: SOLR-2128
>                 URL: https://issues.apache.org/jira/browse/SOLR-2128
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 4.0
>
>         Attachments: SOLR-2128.patch
>
>
> We should be able to specify function parameters as $foo (where foo is another request parameter).
> Ideally the parameter could itself be a full function.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply | Threaded
Open this post in threaded view
|

[jira] Reopened: (SOLR-2128) full parameter dereferencing for function queries

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Koji Sekiguchi reopened SOLR-2128:
----------------------------------


Reopening to incorporate this into 3x.

> full parameter dereferencing for function queries
> -------------------------------------------------
>
>                 Key: SOLR-2128
>                 URL: https://issues.apache.org/jira/browse/SOLR-2128
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 4.0
>
>         Attachments: SOLR-2128.patch
>
>
> We should be able to specify function parameters as $foo (where foo is another request parameter).
> Ideally the parameter could itself be a full function.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (SOLR-2128) full parameter dereferencing for function queries

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Koji Sekiguchi resolved SOLR-2128.
----------------------------------

    Fix Version/s: 3.1
       Resolution: Fixed

branch_3x: Committed revision 1003739.

> full parameter dereferencing for function queries
> -------------------------------------------------
>
>                 Key: SOLR-2128
>                 URL: https://issues.apache.org/jira/browse/SOLR-2128
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2128.patch
>
>
> We should be able to specify function parameters as $foo (where foo is another request parameter).
> Ideally the parameter could itself be a full function.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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