You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Daniel Debray (JIRA)" <ji...@apache.org> on 2013/07/01 11:44:19 UTC

[jira] [Created] (SOLR-4980) Improve method names on SolrQuery

Daniel Debray created SOLR-4980:
-----------------------------------

             Summary: 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
             Fix For: 5.0


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