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

Michael McCandless updated LUCENE-2578:
---------------------------------------

    Attachment: LUCENE-2578.patch

Attached patch.

The only bizzare thing is... somehow, the changeup in the index causes the 
scores to be off by a bit (eg 1199.8008 vs 1199.8007), so I had to relax the 
threshold for comparing float scores from 1e-5 to 1e-3.  We use 1e-3 in other 
places when comparing scores.  Still, these are function queries, so... I don't 
yet understand why the scores were tweaked by using RIW.  Any ideas?

> cutover FunctionQuery tests to use RandomIndexWriter, for better testing
> ------------------------------------------------------------------------
>
>                 Key: LUCENE-2578
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2578
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>         Attachments: LUCENE-2578.patch
>
>


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to