[ https://issues.apache.org/jira/browse/LUCENE-6705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Houston Putman closed LUCENE-6705. ---------------------------------- Resolution: Won't Do > 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 > Attachments: LUCENE-6705.patch > > > 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.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org