@Test
    void testTermListInDotProduct() {
        URIBuilder builder = searchUri();
        builder.setParameter("myTerms", "{'1':1, '2':1, '3':1}");
        builder.setParameter("yql", "select * from sources * where dotProduct(user_id, @myTerms)");
        Query query = searchAndAssertNoErrors(builder);
        assertEquals("select * from sources * where dotProduct(user_id, {\"1\": 1, \"2\": 1, \"3\": 1})",
                query.yqlRepresentation());
    }
Tests YQL expressions where a list of terms are supplied by indirection

@author bratseth
container-search/src/test/java/com/yahoo/search/yql/TermListTestCase.java