You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Kay Kay (JIRA)" <ji...@apache.org> on 2009/01/13 22:58:59 UTC

[jira] Created: (SOLR-956) SolrParams#getFieldInt(String, String) - inconsistent documentation

SolrParams#getFieldInt(String, String)  - inconsistent documentation 
---------------------------------------------------------------------

                 Key: SOLR-956
                 URL: https://issues.apache.org/jira/browse/SOLR-956
             Project: Solr
          Issue Type: Improvement
          Components: documentation
            Reporter: Kay Kay
             Fix For: 1.4
         Attachments: SOLR-956.patch

SolrParams#getFieldInt(String, String) documentation says it returns def. if the value does not exist. 

There is no def. passed on to the method - so seems to be inconsistent with what the method does. It returns null if the field,param does not exist. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SOLR-956) SolrParams#getFieldInt(String, String) - inconsistent documentation

Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Otis Gospodnetic resolved SOLR-956.
-----------------------------------

    Resolution: Fixed
      Assignee: Otis Gospodnetic

Thanks Kay.

Sending        src/common/org/apache/solr/common/params/SolrParams.java
Transmitting file data .
Committed revision 734330.


> SolrParams#getFieldInt(String, String)  - inconsistent documentation 
> ---------------------------------------------------------------------
>
>                 Key: SOLR-956
>                 URL: https://issues.apache.org/jira/browse/SOLR-956
>             Project: Solr
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Kay Kay
>            Assignee: Otis Gospodnetic
>             Fix For: 1.4
>
>         Attachments: SOLR-956.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> SolrParams#getFieldInt(String, String) documentation says it returns def. if the value does not exist. 
> There is no def. passed on to the method - so seems to be inconsistent with what the method does. It returns null if the field,param does not exist. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SOLR-956) SolrParams#getFieldInt(String, String) - inconsistent documentation

Posted by "Kay Kay (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kay Kay updated SOLR-956:
-------------------------

    Attachment: SOLR-956.patch

> SolrParams#getFieldInt(String, String)  - inconsistent documentation 
> ---------------------------------------------------------------------
>
>                 Key: SOLR-956
>                 URL: https://issues.apache.org/jira/browse/SOLR-956
>             Project: Solr
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Kay Kay
>             Fix For: 1.4
>
>         Attachments: SOLR-956.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> SolrParams#getFieldInt(String, String) documentation says it returns def. if the value does not exist. 
> There is no def. passed on to the method - so seems to be inconsistent with what the method does. It returns null if the field,param does not exist. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SOLR-956) SolrParams#getFieldInt(String, String) - inconsistent documentation

Posted by "Kay Kay (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kay Kay closed SOLR-956.
------------------------


Thanks Otis.

> SolrParams#getFieldInt(String, String)  - inconsistent documentation 
> ---------------------------------------------------------------------
>
>                 Key: SOLR-956
>                 URL: https://issues.apache.org/jira/browse/SOLR-956
>             Project: Solr
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Kay Kay
>            Assignee: Otis Gospodnetic
>             Fix For: 1.4
>
>         Attachments: SOLR-956.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> SolrParams#getFieldInt(String, String) documentation says it returns def. if the value does not exist. 
> There is no def. passed on to the method - so seems to be inconsistent with what the method does. It returns null if the field,param does not exist. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.