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

Add Explanations to Streaming Expressions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.0, 6.1
    • 6.1, 7.0
    • SolrJ
    • 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
      

      Attachments

        1. SOLR-9009.patch
          145 kB
          Dennis Gove
        2. SOLR-9009.patch
          145 kB
          Dennis Gove

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: