[
https://issues.apache.org/jira/browse/SOLR-4980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Debray updated SOLR-4980:
--------------------------------
Attachment: SolrQuery.patch
> Improve method names on SolrQuery
> ---------------------------------
>
> Key: SOLR-4980
> URL: https://issues.apache.org/jira/browse/SOLR-4980
> Project: Solr
> Issue Type: Improvement
> Components: clients - java
> Affects Versions: 5.0
> Reporter: Daniel Debray
> Priority: Trivial
> Labels: easyfix, patch
> Fix For: 5.0
>
> Attachments: SolrQuery.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> The setter method names for the field statistics in the SolrQuery class are a
> little bit confusing and i think they should be renamed.
> I think a setter method should set a field to a given value and not just add
> a value to the existing field. For this behavior, an add method is more
> convinent.
> A patch is applyed to this issue. If you think is is not needed, just close
> this issue :).
> The existing setter methods are set to deprecated and some documentation is
> added to explain their behavior.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]