[ 
https://issues.apache.org/jira/browse/LUCENE-9340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17091472#comment-17091472
 ] 

ASF subversion and git services commented on LUCENE-9340:
---------------------------------------------------------

Commit f6462ee35056f92bcfeed5f251d5372506e66b57 in lucene-solr's branch 
refs/heads/master from Alan Woodward
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=f6462ee ]

LUCENE-9340: Deprecate SimpleBindings#add(SortField) (#1447)

This method is trappy; it doesn't work for all SortField types, but doesn't tell
you that until runtime. This commit deprecates it, and removes all other
callsites in the codebase.

> Deprecate and remove the SimpleBindings.add(SortField) method
> -------------------------------------------------------------
>
>                 Key: LUCENE-9340
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9340
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> This method is trappy, in that it only works for certain types of SortField 
> and you only find out which at runtime.  We should deprecate it and encourage 
> users to pass an equivalent DoubleValuesSource instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to