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

Add natural and repeat Stream Evaluators

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: None
    • Fix Version/s: 8.0, master (9.0)
    • Component/s: None
    • Labels:
      None

      Description

      The natural Stream Evaluator returns a vector of natural numbers. This is useful for creating a sequence of numbers 0...N for plotting an x-axis.

      Sample syntax:

      let(a=natural(10))

      The repeat Stream Evaluator creates a vector with a number repeated N times. This useful for plotting a straight line.

      Sample syntax:

      let(a=repeat(5.5, 100))

        Attachments

        1. SOLR-13104.patch
          8 kB
          Joel Bernstein

          Issue Links

            Activity

              People

              • Assignee:
                jbernste Joel Bernstein
                Reporter:
                jbernste Joel Bernstein
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: