You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Mikhail Khludnev (Jira)" <ji...@apache.org> on 2019/10/19 18:14:00 UTC

[jira] [Issue Comment Deleted] (SOLR-12490) Query DSL supports for further referring and exclusion in JSON facets

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

Mikhail Khludnev updated SOLR-12490:
------------------------------------
    Comment: was deleted

(was: Ok, now it's called {{{!query} }}but it seems odd. Now, qparser handles all possible cases. 
{code:java}
    client.testJQ( params("json","{query:'cat_s:A'}", "json","{filter:'{!query  v=$whereNY}'}",
          "json","{params:{whereNY:{field:{f:where_s, query:NY}}}}" )
        , "response/numFound==1"
    );
    client.testJQ( params("json","{query:'cat_s:A'}", "json","{filter:'{!query  v=whereNY}'}",
        "json","{params:{whereNY:{field:{f:where_s, query:NY}}}}" )
      , "response/numFound==1"
    );
    client.testJQ( params("json","{query:'cat_s:A'}", "json","{filter:'{!query}whereNY'}",
        "json","{params:{whereNY:{field:{f:where_s, query:NY}}}}" )
      , "response/numFound==1"
    );
    client.testJQ(params("json", "{query:'cat_s:A'}", "json", "{filter:{query:{query:whereNY}}}",
                "json", "{params:{whereNY:{field:{f:where_s, query:NY}}}}"),
        "response/numFound==1");
    
    client.testJQ( params("json","{query:'cat_s:A'}", "json","{filter:{query:{query:$whereNY}}}",
        "json","{params:{whereNY:{field:{f:where_s, query:NY}}}}" )
      , "response/numFound==1"
    );
    client.testJQ( params("json","{query:'cat_s:A'}", "json","{filter:{query:{query:$whereNY}}}",
        "whereNY","{field:{f:where_s, query:NY}}" )
      , "response/numFound==1"
    ); 
{code})

> Query DSL supports for further referring and exclusion in JSON facets 
> ----------------------------------------------------------------------
>
>                 Key: SOLR-12490
>                 URL: https://issues.apache.org/jira/browse/SOLR-12490
>             Project: Solr
>          Issue Type: Improvement
>          Components: Facet Module, faceting
>            Reporter: Mikhail Khludnev
>            Priority: Major
>              Labels: newdev
>         Attachments: SOLR-12490.patch, SOLR-12490.patch
>
>
> It's spin off from the [discussion|https://issues.apache.org/jira/browse/SOLR-9685?focusedCommentId=16508720&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16508720]. 
> h2. Problem
> # after SOLR-9685 we can tag separate clauses in hairish queries like {{parent}}, {{bool}}
> # we can {{domain.excludeTags}}
> # we are looking for child faceting with exclusions, see SOLR-9510, SOLR-8998    
> # but we can refer only separate params in {{domain.filter}}, it's not possible to refer separate clauses
> see the first comment



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org