Hi,
I have a following code snippet:
var key1 = "title", value1 = "title";
var key2 = "abc.param1", value2 = "xxx";
var key3 = "abc.param2", value3 = "yyy";
var queryBuilder = new QueryBuilder();
var q1 = queryBuilder.build(key1, value1, Operator.EQUALS);
var q2 = queryBuilder.build(key2, value2, Operator.EQUALS);
var q3 = queryBuilder.build(key3, value3, Operator.EQUALS);
var query = queryBuilder.compoundOperator(q1,Operator.AND,q2);
query = queryBuilder.compoundOperator(query,Operator.AND,q3);
with above code, somehow it ignores to match the title, and it only gives me results which have abc.param1 = ""xxx" and abc.param2="yyy"
Here, title is a simple string field in JSON and abc is JSON array of custom objects.
I am using Javascript. Please let me know what I am doing wrong.