You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Nicholas Paldino (JIRA)" <ji...@apache.org> on 2009/11/10 21:49:27 UTC

[jira] Updated: (LUCENENET-225) TestBoostsSimpleFails

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

Nicholas Paldino updated LUCENENET-225:
---------------------------------------

    Attachment: ToStringUtils.patch
                SupportClass.patch

Added a ToJavaString method to the nested Single class in Support class so that it mimic's Java's toString on the float class as per:

http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Float.html#toString(float)

Then changed ToStringUtils to output the boost using the new method.

> TestBoostsSimpleFails
> ---------------------
>
>                 Key: LUCENENET-225
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-225
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Nicholas Paldino
>            Priority: Minor
>         Attachments: SupportClass.patch, ToStringUtils.patch
>
>
> TestBoostsSimple fails because the overload of ToString on the query (which calls ToString for the boost which is a float) doesn't properly mimic the Java implementation.

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