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

JSON Query regression; defType doesn't work in "params"

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.4
    • 9.4.1
    • JSON Request API
    • None

    Description

      The following test fails ("undefined field all") but used to work prior to SOLR-16916:

          client.testJQ(
              params(
                  "json", "{\n"
                      + "    'query': '+all:NY',\n"
                      + "    'fields': '*',\n"
                      + "    'offset': 0,\n"
                      + "    'limit': 10,\n"
                      + "    'params': {\n"
                      + "        'defType': 'edismax',\n"
                      + "        'f.all.qf': 'id cat_s where_s'\n"
                      + "   }\n"
                      + "}"
              ),
              "response/numFound==2"
          );
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dsmiley David Smiley
            dsmiley David Smiley
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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

                Slack

                  Issue deployment