[
https://issues.apache.org/jira/browse/USERGRID-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Russo updated USERGRID-1314:
------------------------------------
Sprint: Usergrid 36
> Or queries fail when field "name" is included
> ---------------------------------------------
>
> Key: USERGRID-1314
> URL: https://issues.apache.org/jira/browse/USERGRID-1314
> Project: Usergrid
> Issue Type: Bug
> Reporter: David Johnson
>
> When I fixed the Query Validator module, I found that about 5 of the tests
> fail to return correct results.
> All of the failing queries use an OR operator with a field named "name" for
> example, these queries (from EntityIndexTest in the query index module) work
> fine:
> testQuery( scope, searchTypes, "age > 35", 29 );
> testQuery( scope, searchTypes, "age <= 35", 73 );
> testQuery( scope, searchTypes, "age <= 35 or age > 35", 102 );
> But this query returns 0 results because the presence of the "name" field
> seems to turn the OR query into an AND query.
> testQuery( scope, searchTypes, "name = 'astro*' or age > 35", 29 );
> Until this is fixed, I have marked the five failing tests in UserQueryIT (in
> the query-validator module) with the @Ignore annotations.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)