Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-5220

Ickle fulltext query not working with query parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • RHDG 8.3.1 GA
    • RHDG 8.3 GA
    • None

      I have an Ickle fulltext query on analyzed field and it doesn't handle query parameters. 

      QueryFactory queryFactory = Search.getQueryFactory(remoteCache);
      private final Map<String, String> parameters;
      parameters.put("clientId0", "test")
      queryString = "FROM org.keycloak.models.map.storage.hotrod.HotRodClientEntity c WHERE (c.clientId : :clientId0)";
      Query<V> query = queryFactory.create(queryString);
      query.setParameters(parameters);
      ....
      

      No result is found in the remote cache.

              fercoli@redhat.com Fabio Massimo Ercoli
              fercoli@redhat.com Fabio Massimo Ercoli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: