You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2009/03/05 17:41:56 UTC

[jira] Created: (SOLR-1046) nested queries in function query

nested queries in function query
--------------------------------

                 Key: SOLR-1046
                 URL: https://issues.apache.org/jira/browse/SOLR-1046
             Project: Solr
          Issue Type: Bug
            Reporter: Yonik Seeley
             Fix For: 1.4


Allow nested queries (sub-queries of different types) from function query syntax

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


[jira] Updated: (SOLR-1046) nested queries in function query

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley updated SOLR-1046:
-------------------------------

    Attachment: SOLR-1046.patch

The code for this was in Solr for some time - I just never got around to fixing the bugs, testing and documenting it.  Patch attached.

Examples:
// relevancy score of the sub-query specified by the qq var (lucene query by default)
q=query($qq)&qq=+foo +bar baz         

// value of the query specified by the qq argument (a dismax query) with a default value of 1.0 for documents that don't match that query.
q=query($qq,1)&qq={!dismax qf=myfield pf=myfield}foo bar       

// relevancy score of the lucene query with a default value of 0.1 for any non-matching documents
query({!lucene v='body:apple +tag:[* TO *]'},0.1)

> nested queries in function query
> --------------------------------
>
>                 Key: SOLR-1046
>                 URL: https://issues.apache.org/jira/browse/SOLR-1046
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>             Fix For: 1.4
>
>         Attachments: SOLR-1046.patch
>
>
> Allow nested queries (sub-queries of different types) from function query syntax

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


[jira] Resolved: (SOLR-1046) nested queries in function query

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley resolved SOLR-1046.
--------------------------------

    Resolution: Fixed

committed.
I'll work on updating the Wiki shortly.

> nested queries in function query
> --------------------------------
>
>                 Key: SOLR-1046
>                 URL: https://issues.apache.org/jira/browse/SOLR-1046
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>             Fix For: 1.4
>
>         Attachments: SOLR-1046.patch
>
>
> Allow nested queries (sub-queries of different types) from function query syntax

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