Query on float value fails in v3

21 views
Skip to first unread message

ZNS

unread,
Jun 30, 2016, 3:04:06 PM6/30/16
to RavenDB - 2nd generation document database
Hi,

We're running RavenDB 2.5 and have successful tests for some queries we do. We want to upgrade to latest version 3 but a couple of our tests fail. One of them is when querying a field with a float value. WhereEquals succeeds but WhereGreaterThan and WhereLessThan fails.

Equals:
{Language:sv AND AreaLevel_Range:[* TO Ix10] AND (Type:1) AND classification1_property3:2.4} - SUCCESS, returns 1 result with classification1_property3 = 2.4

GreaterThan:
{Language:sv AND AreaLevel_Range:[* TO Ix10] AND (Type:1) AND classification1_property3_Range:{Fx2.25 TO NULL}} - FAIL, returns 0 results even though there obviously is one document with property value 2.4.

The fields with the float values are dynamically created in the index definition using CreateField(). As stated the exact same tests succeeds on RavenDB 2.5.

Oren Eini (Ayende Rahien)

unread,
Jun 30, 2016, 3:33:17 PM6/30/16
to ravendb
Can you send the failing test case, or better yet, create an issue here? issues.hibernatingrhinos.com

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ZNS

unread,
Jun 30, 2016, 4:19:43 PM6/30/16
to RavenDB - 2nd generation document database
Reply all
Reply to author
Forward
0 new messages