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

Support non-static methods in the Javascript compiler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.2, 6.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: