Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-14203

Restore Query#list method, implementing it in an efficient way

    XMLWordPrintable

Details

    Description

      I think that it is right to remove the deprecation to the method org.infinispan.query.dsl.Query<T>#list, that returns the matched entity lists List<T>.

      This method can be used in case the user/customer does not need to get the `QueryResult<E>#hitCount}}.

      At the moment the implementations of both embedded and remote queries are not efficient, since they do not delegate to org.hibernate.search.engine.search.query.SearchFetchable#fetchHits to take the performance advantage to not compute the hit count.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: