Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5416

CollapsingQParserPlugin breaks Tag/Exclude Faceting

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.6
    • Fix Version/s: 4.6.1, 6.0
    • Component/s: search
    • Labels:

      Description

      Trying to use CollapsingQParserPlugin with facet tagging throws an exception.

       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']");
      

        Attachments

        1. CollapseQParserPluginPatch-solr-4.5.1.patch
          46 kB
          David Boychuck
        2. CollapsingQParserPlugin.java
          29 kB
          Joel Bernstein
        3. SOLR-5416.patch
          23 kB
          Joel Bernstein
        4. SOLR-5416.patch
          22 kB
          Joel Bernstein
        5. SOLR-5416.patch
          11 kB
          Joel Bernstein
        6. SOLR-5416.patch
          10 kB
          Joel Bernstein
        7. SOLR-5416.patch
          2 kB
          Joel Bernstein
        8. SOLR-5416.patch
          6 kB
          David Boychuck
        9. SolrIndexSearcher.java
          86 kB
          Joel Bernstein
        10. TestCollapseQParserPlugin.java
          8 kB
          Joel Bernstein

        Issue Links

          Activity

            People

            • Assignee:
              jbernste Joel Bernstein
              Reporter:
              dboychuck David Boychuck

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Issue deployment