You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Houston Putman (JIRA)" <ji...@apache.org> on 2015/07/29 23:11:04 UTC

[jira] [Created] (LUCENE-6705) Adding functionality to FunctionValues to support filling external MutableValues and having multiple ValueFillers.

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org