You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "shruti suri (JIRA)" <ji...@apache.org> on 2014/08/26 13:54:59 UTC

[jira] [Issue Comment Deleted] (SOLR-5416) CollapsingQParserPlugin breaks Tag/Exclude Faceting

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

shruti suri updated SOLR-5416:
------------------------------

    Comment: was deleted

(was:  Joel Bernstein :Hi)

> CollapsingQParserPlugin breaks Tag/Exclude Faceting
> ---------------------------------------------------
>
>                 Key: SOLR-5416
>                 URL: https://issues.apache.org/jira/browse/SOLR-5416
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.6
>            Reporter: David Boychuck
>            Assignee: Joel Bernstein
>              Labels: group, grouping
>             Fix For: 4.6.1, 5.0
>
>         Attachments: CollapseQParserPluginPatch-solr-4.5.1.patch, CollapsingQParserPlugin.java, SOLR-5416.patch, SOLR-5416.patch, SOLR-5416.patch, SOLR-5416.patch, SOLR-5416.patch, SOLR-5416.patch, SolrIndexSearcher.java, TestCollapseQParserPlugin.java
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Trying to use CollapsingQParserPlugin with facet tagging throws an exception. 
> {code}
>  ModifiableSolrParams params = new ModifiableSolrParams();
>     params.add("q", "*:*");
>     params.add("fq", "{!collapse field=group_s}");
>     params.add("defType", "edismax");
>     params.add("bf", "field(test_ti)");
>     params.add("fq","{!tag=test_ti}test_ti:5");
>     params.add("facet","true");
>     params.add("facet.field","{!ex=test_ti}test_ti");
>     assertQ(req(params), "*[count(//doc)=1]", "//doc[./int[@name='test_ti']='5']");
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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