Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6451

Support non-static methods in the Javascript compiler

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Allow methods such as date.getMonth() or string.getOrdinal() to be added in the same way expression variables are now (forwarded to the bindings for processing). This change will only allow non-static methods that have zero arguments due to current limitations in the architecture, and to keep the change simple.

        Attachments

        1. LUCENE-6451.patch
          7 kB
          Jack Conradson
        2. LUCENE-6451.patch
          6 kB
          Jack Conradson

          Activity

            People

            • Assignee:
              rjernst Ryan Ernst
              Reporter:
              jdconradson Jack Conradson
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: