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

Improve Evaluator API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.4
    • None

    Description

      An Evaluator does not know about the Context object which limits use-cases. For example, the use-case given by Gregg in solr-user – http://markmail.org/thread/pu3z27lreefbbkin

      We can add the evaluate method and pass in the Context object. It is a non back-compatible change but since the Evaluator is marked as experimental and it's API has never been documented on the wiki, it should be fine.

      We should also rename it to Function to be consistent with the dataimporter.functions namespace it is used with.

      Attachments

        1. SOLR-996.patch
          15 kB
          Shalin Shekhar Mangar
        2. SOLR-996.patch
          13 kB
          Shalin Shekhar Mangar
        3. SOLR-996.patch
          15 kB
          Noble Paul

        Activity

          People

            shalin Shalin Shekhar Mangar
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: