lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-5416) CollapsingQParserPlugin bug with Taggign
Date Fri, 01 Nov 2013 22:07:17 GMT

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

David updated SOLR-5416:
------------------------

    Attachment: SOLR-5416.patch

I'm not sure if this is the right solution, but it is giving me the correct facet counts when
only tagging one fq. Need to test with additional fq tags

> CollapsingQParserPlugin bug with Taggign
> ----------------------------------------
>
>                 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
>              Labels: group, grouping
>             Fix For: 4.6, 5.0
>
>         Attachments: SOLR-5416.patch
>
>   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.1#6144)

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


Mime
View raw message