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

Add Explanations to Streaming Expressions

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0, 6.1
    • Fix Version/s: 6.1, 7.0
    • Component/s: SolrJ
    • Labels:
      None

      Description

      Adds the ability to return a Explanation for a streaming expression. The explanation will describe features of an expression including its children. This information can be used by a client to introspect how their expression is interpreted on the server.

      It will be used SOLR-8918 to add Streaming to the admin page.

      This does change the interface Expressible to add a new required function which functions similarly to the toExpression(StreamFactory) function. It will return an Explanation object describing that expression.

      public Explanation toExplanation(StreamFactory factory) throws IOException
      
      1. SOLR-9009.patch
        145 kB
        Dennis Gove
      2. SOLR-9009.patch
        145 kB
        Dennis Gove

        Issue Links

          Activity

          Hide
          dpgove Dennis Gove added a comment -

          All required changes to Streaming related classes to provide Explanations. Includes test cases.

          Show
          dpgove Dennis Gove added a comment - All required changes to Streaming related classes to provide Explanations. Includes test cases.
          Hide
          dpgove Dennis Gove added a comment -

          Fixes some precommit check failures. This is ready for commit.

          Show
          dpgove Dennis Gove added a comment - Fixes some precommit check failures. This is ready for commit.
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 2e95a54a52878c1d6305a282a324705a79d56e65 in lucene-solr's branch refs/heads/master from Dennis Gove
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=2e95a54 ]

          SOLR-9009: Adds ability to get an Explanation of a Streaming Expression

          Show
          jira-bot ASF subversion and git services added a comment - Commit 2e95a54a52878c1d6305a282a324705a79d56e65 in lucene-solr's branch refs/heads/master from Dennis Gove [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=2e95a54 ] SOLR-9009 : Adds ability to get an Explanation of a Streaming Expression
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit d969de41c1fd5660768c746df48e50b46f6d56fa in lucene-solr's branch refs/heads/branch_6x from Dennis Gove
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d969de4 ]

          SOLR-9009: Adds ability to get an Explanation of a Streaming Expression

          Conflicts:
          solr/CHANGES.txt

          Show
          jira-bot ASF subversion and git services added a comment - Commit d969de41c1fd5660768c746df48e50b46f6d56fa in lucene-solr's branch refs/heads/branch_6x from Dennis Gove [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d969de4 ] SOLR-9009 : Adds ability to get an Explanation of a Streaming Expression Conflicts: solr/CHANGES.txt
          Hide
          hossman Hoss Man added a comment -

          Manually correcting fixVersion per Step #S5 of LUCENE-7271

          Show
          hossman Hoss Man added a comment - Manually correcting fixVersion per Step #S5 of LUCENE-7271

            People

            • Assignee:
              dpgove Dennis Gove
              Reporter:
              dpgove Dennis Gove
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development