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

Adding functionality to FunctionValues to support filling external MutableValues and having multiple ValueFillers.

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 4.10
    • None
    • None
    • None
    • New, Patch Available

    Description

      Overall this adds the functionality to FunctionValues so that they can fill a given MutableValue. This allows functions that have an input and output of the same type, like IF, to have generic ValueSources without the need for individual sources for every type. This change also gives the ability to make ValueFillers for given MutableValues. Therefore MutableValues don't need to be created for every ValueFiller and can be re-used.
      Originally this change was made in order to increase performance by recycling MutbaleValues. So that one could keep track of a MutableValue and fill it without ever changing the reference.

      Attachments

        1. LUCENE-6705.patch
          77 kB
          Houston Putman

        Issue Links

          Activity

            People

              Unassigned Unassigned
              houstonputman Houston Putman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: