Houston Putman created LUCENE-6705:
--------------------------------------

             Summary: Adding functionality to FunctionValues to support filling 
external MutableValues and having multiple ValueFillers.
                 Key: LUCENE-6705
                 URL: https://issues.apache.org/jira/browse/LUCENE-6705
             Project: Lucene - Core
          Issue Type: Improvement
    Affects Versions: 4.10
            Reporter: Houston Putman
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to