[ 
https://issues.apache.org/jira/browse/SOLR-7761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Houston Putman updated SOLR-7761:
---------------------------------
    Attachment: SOLR-7761.patch

> Adding functionality to FunctionValues to support filling external 
> MutableValues and having multiple ValueFillers.
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-7761
>                 URL: https://issues.apache.org/jira/browse/SOLR-7761
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.10.4
>            Reporter: Houston Putman
>            Priority: Minor
>              Labels: patch
>         Attachments: SOLR-7761.patch
>
>
> This is mostly a Lucene change that affects some Solr code, so I made the 
> issue here. If the issue needs to also be made in Lucene, that can be done. 
> 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