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

Get expression fails to return EOF tuple

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Resolved
    • 6.6
    • 7.1, 8.0
    • search

    Description

      Below is a simple let expr where search would not find a match and return 0 result. In that case, we expect get(a) to show a EOF tuple while it is throwing exception.

      ===
      let(a=search(collection1,
      q=id:999999999,
      fl="id,business_email",
      sort="business_email asc"),
      get(a)
      )

      {
      "result-set": {
      "docs": [

      { "EXCEPTION": "Index: 0, Size: 0", "EOF": true, "RESPONSE_TIME": 8 }

      ]
      }
      }

      Attachments

        1. SOLR-10944.patch
          3 kB
          Susheel Kumar

        Activity

          People

            Unassigned Unassigned
            susheel2777@gmail.com Susheel Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: